adaptivedemux: Also never have the SINK flag set on adaptivedemux
authorSebastian Dröge <sebastian@centricular.com>
Mon, 12 Sep 2016 16:38:36 +0000 (18:38 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 12 Sep 2016 16:38:36 +0000 (18:38 +0200)
gst-libs/gst/adaptivedemux/gstadaptivedemux.c

index a20e23da4ce40fd1b150fd4a7cad32b6ae7af9f0..715893c48e62b752ebeb4aedc9f04fc73556c546 100644 (file)
@@ -434,7 +434,8 @@ gst_adaptive_demux_init (GstAdaptiveDemux * demux,
 
   gst_segment_init (&demux->segment, GST_FORMAT_TIME);
 
-  gst_bin_set_suppressed_flags (GST_BIN_CAST (demux), GST_ELEMENT_FLAG_SOURCE);
+  gst_bin_set_suppressed_flags (GST_BIN_CAST (demux),
+      GST_ELEMENT_FLAG_SOURCE | GST_ELEMENT_FLAG_SINK);
 
   demux->realtime_clock = gst_system_clock_obtain ();
   g_assert (demux->realtime_clock != NULL);