Commit 0feecef2 authored by Wim Taymans's avatar Wim Taymans

decodebin2: use NO_RESYNC flag

to avoid the state change function from messing with the state of the elements
that we add.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=690420
parent ca456ec6
......@@ -990,6 +990,8 @@ gst_decode_bin_update_factories_list (GstDecodeBin * dbin)
static void
gst_decode_bin_init (GstDecodeBin * decode_bin)
{
GST_OBJECT_FLAG_SET (decode_bin, GST_BIN_FLAG_NO_RESYNC);
/* first filter out the interesting element factories */
decode_bin->factories_lock = g_mutex_new ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment