summaryrefslogtreecommitdiff
path: root/Documentation/Patterns.md
diff options
context:
space:
mode:
authorZaggy1024 <zaggy1024@gmail.com>2022-10-29 18:16:14 -0500
committerAndreas Kling <kling@serenityos.org>2022-10-31 14:47:13 +0100
commit353e1c2b4dad88065197a294e32e788925373b6d (patch)
treeed987e0a9563c6079a993240fc22559bfa312f50 /Documentation/Patterns.md
parent0a4def1208c846db36c9d6e98f05dad137858766 (diff)
downloadserenity-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 'Documentation/Patterns.md')
0 files changed, 0 insertions, 0 deletions