[Bug 782118] qtdemux: Fix seeking on streams with frame reordering
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Mar 5 11:21:28 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=782118
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #350966|0 |1
is obsolete| |
--- Comment #7 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 369325
--> https://bugzilla.gnome.org/attachment.cgi?id=369325&action=edit
qtdemux: Fix seeking on streams with frame reordering
The samples table is sorted by DTS, not PTS. As such we can only get the
correct result when using a binary search on it, if we search for the
DTS.
Also if we only ever search for the frame, where the following frame is
the first one with a PTS after the search position, we will generally
stop searching too early if frames are reordered.
In forwards playback this is not really a problem (after the decoder
reordered the frames, clipping is happening), in reverse playback
it means that we can output one or more frames too few as we stop too
early and the decoder would never receive it.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list