[Bug 760677] basesink: always drops buffers before segment

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 18 19:12:03 UTC 2016


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

Olivier CrĂȘte <olivier.crete at ocrete.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olivier.crete at ocrete.ca

--- Comment #14 from Olivier CrĂȘte <olivier.crete at ocrete.ca> ---
I wonder if this can't be done using some logic which is a mix of
GST_BUFFER_FLAG_DROPPABLE + GST_BUFFER_FLAG_DELTA_UNIT  +
GST_BUFFER_FLAG_HEADER ? Maybe somethign like

if (has (HEADER) no drop;
else if (has DROPPABLE) drop
else if (PTS != DTS) no drop;
else if (has seen DELTA UNIT) nodrop; ..
else drop

That may still drop the first keyframe in stream that have no B-frames...

Another option is to do "if (DTS!=NONE) nodrop;", then make sure streams that
have no concept of keyframe or of DTS always set it to NONE?

Adding a new concept of caps flags for this seems overkill..

-- 
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