mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
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
This commit is contained in:
parent
ca456ec6f9
commit
0feecef275
1 changed files with 2 additions and 0 deletions
|
@ -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 ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue