[Bug 753899] baseparse: push sticky events to downstreams for initial prerolling

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jan 19 07:29:03 PST 2016


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

Edward Hervey <bilboed at bilboed.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #310477|none                        |needs-work
             status|                            |

--- Comment #24 from Edward Hervey <bilboed at bilboed.com> ---
Review of attachment 310477:
 --> (https://bugzilla.gnome.org/review?bug=753899&attachment=310477)

::: libs/gst/base/gstbaseparse.c
@@ +1320,3 @@
       GST_DEBUG_OBJECT (parse, "draining current data due to gap event");

+      src_caps = gst_pad_get_current_caps (GST_BASE_PARSE_SRC_PAD (parse));

Instead of constantly doing expensive caps operation, a simpler solution would
be to use a boolean to store whether we saw a GAP event before CAPS (and sent
something downstream).

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