[Bug 770627] adaptivedemux: prevent to set source flag itself

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Aug 31 08:51:05 UTC 2016


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

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

--- Comment #8 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 334509:
 --> (https://bugzilla.gnome.org/review?bug=770627&attachment=334509)

::: gst-libs/gst/adaptivedemux/gstadaptivedemux.c
@@ +2543,3 @@
     gst_bin_add (GST_BIN_CAST (stream->src), uri_handler);

+    GST_OBJECT_FLAG_UNSET (stream->src, GST_ELEMENT_FLAG_SOURCE);

Doing it a few lines below for demux after adding stream->src seems more
correct. stream->src is technically a source.

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