1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:48:11 +00:00
serenity/Userland/Libraries/LibVideo/Containers/Matroska
Zaggy1024 3bfef8bfe0 LibVideo: Pass the current sample to demuxers to lazily seek better
In cases where the PlaybackManager's earliest buffered or displayed
sample is closer to the seek target than the demuxer's chosen keyframe,
we don't want to seek at all. To enable this, demuxers now receive an
optional parameter with the earliest timestamp that the caller can
still access.

The demuxer in turn returns an optional to indicate when a seek was not
needed, which allows PlaybackManager to avoid clearing its queue and
re-decoding frames.
2023-02-08 21:52:42 +01:00
..
Document.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
MatroskaDemuxer.cpp LibVideo: Pass the current sample to demuxers to lazily seek better 2023-02-08 21:52:42 +01:00
MatroskaDemuxer.h LibVideo: Pass the current sample to demuxers to lazily seek better 2023-02-08 21:52:42 +01:00
Reader.cpp LibVideo: Pass the current sample to demuxers to lazily seek better 2023-02-08 21:52:42 +01:00
Reader.h LibVideo: Pass the current sample to demuxers to lazily seek better 2023-02-08 21:52:42 +01:00