mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
transcodebin: Unlock while setting decodebin caps
Otherwise it will deadlock recursing up to notify parent object property changes
This commit is contained in:
parent
5ccaa595a9
commit
eb0d72f382
1 changed files with 4 additions and 0 deletions
|
@ -672,8 +672,12 @@ _setup_avoid_reencoding (GstTranscodeBin * self)
|
|||
}
|
||||
}
|
||||
|
||||
GST_OBJECT_UNLOCK (self);
|
||||
|
||||
g_object_set (self->decodebin, "caps", decodecaps, NULL);
|
||||
gst_caps_unref (decodecaps);
|
||||
|
||||
GST_OBJECT_LOCK (self);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in a new issue