diff options
author | Zaggy1024 <zaggy1024@gmail.com> | 2022-10-29 18:16:14 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-10-31 14:47:13 +0100 |
commit | 353e1c2b4dad88065197a294e32e788925373b6d (patch) | |
tree | ed987e0a9563c6079a993240fc22559bfa312f50 /Meta | |
parent | 0a4def1208c846db36c9d6e98f05dad137858766 (diff) | |
download | serenity-353e1c2b4dad88065197a294e32e788925373b6d.zip |
LibVideo: Add PlaybackManager to load and decode videos
This file will be the basis for abstracting away the out-of-thread or
later out-of-process decoding from applications displaying videos. For
now, the demuxer is hardcoded to be MatroskaParser, since that is all
we support so far. The demuxer should later be selected based on the
file header.
The playback and decoding are currently all done on one thread using
timers. The design of the code is such that adding threading should
be trivial, at least based on an earlier version of the code. For now,
though, it's better that this runs in one thread, as the multithreaded
approach causes the Video Player to lock up permanently after a few
frames are decoded.
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/CMake/all_the_debug_macros.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Meta/CMake/all_the_debug_macros.cmake b/Meta/CMake/all_the_debug_macros.cmake index a36d64fcce..577f40ca46 100644 --- a/Meta/CMake/all_the_debug_macros.cmake +++ b/Meta/CMake/all_the_debug_macros.cmake @@ -141,6 +141,7 @@ set(PATA_DEBUG ON) set(PATH_DEBUG ON) set(PCI_DEBUG ON) set(PDF_DEBUG ON) +set(PLAYBACK_MANAGER_DEBUG ON) set(PNG_DEBUG ON) set(POLL_SELECT_DEBUG ON) set(PORTABLE_IMAGE_LOADER_DEBUG ON) |