mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-07 12:21:17 +00:00
urisourcebin: Set streams-aware flag
https://bugzilla.gnome.org/show_bug.cgi?id=777213 https://bugzilla.gnome.org/show_bug.cgi?id=775132
This commit is contained in:
parent
48a0178857
commit
e3362e459b
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue