mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
778ffac86a
commit
acc3a9d242
2 changed files with 4 additions and 0 deletions
|
@ -602,6 +602,8 @@ gst_decodebin3_init (GstDecodebin3 * dbin)
|
||||||
g_mutex_init (&dbin->input_lock);
|
g_mutex_init (&dbin->input_lock);
|
||||||
|
|
||||||
dbin->caps = gst_static_caps_get (&default_raw_caps);
|
dbin->caps = gst_static_caps_get (&default_raw_caps);
|
||||||
|
|
||||||
|
GST_OBJECT_FLAG_SET (dbin, GST_BIN_FLAG_STREAMS_AWARE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -944,6 +944,8 @@ gst_parse_bin_init (GstParseBin * parse_bin)
|
||||||
|
|
||||||
parse_bin->expose_allstreams = DEFAULT_EXPOSE_ALL_STREAMS;
|
parse_bin->expose_allstreams = DEFAULT_EXPOSE_ALL_STREAMS;
|
||||||
parse_bin->connection_speed = DEFAULT_CONNECTION_SPEED;
|
parse_bin->connection_speed = DEFAULT_CONNECTION_SPEED;
|
||||||
|
|
||||||
|
GST_OBJECT_FLAG_SET (parse_bin, GST_BIN_FLAG_STREAMS_AWARE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue