mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
decodebin2: Keep the chain mutex locked while connecting to the notify::caps signal
This commit is contained in:
parent
33d491a04f
commit
425d3ae7bc
1 changed files with 1 additions and 1 deletions
|
@ -1616,9 +1616,9 @@ setup_caps_delay:
|
||||||
ppad->event_probe_id =
|
ppad->event_probe_id =
|
||||||
gst_pad_add_event_probe (pad, (GCallback) pad_event_cb, ppad);
|
gst_pad_add_event_probe (pad, (GCallback) pad_event_cb, ppad);
|
||||||
chain->pending_pads = g_list_prepend (chain->pending_pads, ppad);
|
chain->pending_pads = g_list_prepend (chain->pending_pads, ppad);
|
||||||
CHAIN_MUTEX_UNLOCK (chain);
|
|
||||||
g_signal_connect (G_OBJECT (pad), "notify::caps",
|
g_signal_connect (G_OBJECT (pad), "notify::caps",
|
||||||
G_CALLBACK (caps_notify_cb), chain);
|
G_CALLBACK (caps_notify_cb), chain);
|
||||||
|
CHAIN_MUTEX_UNLOCK (chain);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue