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
@ -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…
x
Reference in New Issue
Block a user