playback: decodebin3 and parsebin are streams-aware

Elements within can add/remove pads at anytime without complying
with the fallback system.

https://bugzilla.gnome.org/show_bug.cgi?id=772741
This commit is contained in:
Edward Hervey 2016-10-11 12:36:00 +02:00 committed by Edward Hervey
parent 778ffac86a
commit acc3a9d242
2 changed files with 4 additions and 0 deletions

View file

@ -602,6 +602,8 @@ gst_decodebin3_init (GstDecodebin3 * dbin)
g_mutex_init (&dbin->input_lock);
dbin->caps = gst_static_caps_get (&default_raw_caps);
GST_OBJECT_FLAG_SET (dbin, GST_BIN_FLAG_STREAMS_AWARE);
}
static void

View file

@ -944,6 +944,8 @@ gst_parse_bin_init (GstParseBin * parse_bin)
parse_bin->expose_allstreams = DEFAULT_EXPOSE_ALL_STREAMS;
parse_bin->connection_speed = DEFAULT_CONNECTION_SPEED;
GST_OBJECT_FLAG_SET (parse_bin, GST_BIN_FLAG_STREAMS_AWARE);
}
static void