[Bug 752791] basesink: drops first few buffers with dts/pts b-frame shift

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Aug 5 12:54:24 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=752791

--- Comment #14 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
Created attachment 308813
  --> https://bugzilla.gnome.org/attachment.cgi?id=308813&action=edit
basesink: Only drop buffer if their PTS is out of segment

As of now, even for stream completly inside segment, there is no
guarantied that the DTS will be inside the segment. Specifically
for H.264 with B-Frames, the first few frames often have DTS that
are before the segment.

Instead of using the sync timestamp to clip out of segment buffer,
take the duration from the start/stop provided by the sub-class, and
check if the pts and pts_end is out of segment.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the gstreamer-bugs mailing list