summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorWonchul Lee <wonchul.lee@collabora.com>2016-09-05 10:31:40 +0900
committerThiago Santos <thiagossantos@gmail.com>2016-09-10 09:49:45 -0300
commitaa314c43baf37ed4ebf9ac359edb1784dd4e3bf4 (patch)
tree3c00c8f50fb6f4a831cf0a2aaf50d239793e6d98 /gst-libs
parent41f4fc9c0f733a796941b93cd6b228b015e80c11 (diff)
downloadgstreamer-plugins-bad-aa314c43baf37ed4ebf9ac359edb1784dd4e3bf4.tar.gz
adaptivedemux: prevent to propagate source flag to itself
https://bugzilla.gnome.org/show_bug.cgi?id=770627
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/adaptivedemux/gstadaptivedemux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
index c465226ee..9c34a8350 100644
--- a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
+++ b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c
@@ -434,6 +434,8 @@ gst_adaptive_demux_init (GstAdaptiveDemux * demux,
gst_segment_init (&demux->segment, GST_FORMAT_TIME);
+ gst_bin_set_supressed_flags (GST_BIN_CAST (demux), GST_ELEMENT_FLAG_SOURCE);
+
demux->realtime_clock = gst_system_clock_obtain ();
g_assert (demux->realtime_clock != NULL);
gobject_class = G_OBJECT_GET_CLASS (demux->realtime_clock);