From: Seungha Yang Date: Fri, 11 May 2018 11:25:34 +0000 (+0900) Subject: urisourcebin: Set streams-aware flag X-Git-Tag: 1.19.3~511^2~1574 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3362e459b5f9681756090c16335feb61d6d4656;p=platform%2Fupstream%2Fgstreamer.git urisourcebin: Set streams-aware flag https://bugzilla.gnome.org/show_bug.cgi?id=777213 https://bugzilla.gnome.org/show_bug.cgi?id=775132 --- diff --git a/gst/playback/gsturisourcebin.c b/gst/playback/gsturisourcebin.c index 2713852..f91e773 100644 --- a/gst/playback/gsturisourcebin.c +++ b/gst/playback/gsturisourcebin.c @@ -420,7 +420,8 @@ gst_uri_source_bin_init (GstURISourceBin * urisrc) urisrc->ring_buffer_max_size = DEFAULT_RING_BUFFER_MAX_SIZE; urisrc->last_buffering_pct = -1; - GST_OBJECT_FLAG_SET (urisrc, GST_ELEMENT_FLAG_SOURCE); + GST_OBJECT_FLAG_SET (urisrc, + GST_ELEMENT_FLAG_SOURCE | GST_BIN_FLAG_STREAMS_AWARE); gst_bin_set_suppressed_flags (GST_BIN (urisrc), GST_ELEMENT_FLAG_SOURCE | GST_ELEMENT_FLAG_SINK); }