mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
splitmuxsink: Drop lock when sending dummy event
When pushing the dummy event into the multiqueue, drop the splitmux lock or else we might deadlock.
This commit is contained in:
parent
a1838927f7
commit
e2505dd7df
1 changed files with 3 additions and 0 deletions
|
@ -1196,7 +1196,10 @@ handle_mq_input (GstPad * pad, GstPadProbeInfo * info, MqStreamCtx * ctx)
|
|||
GST_EVENT_TYPE_SERIALIZED,
|
||||
gst_structure_new ("splitmuxsink-unblock", "timestamp",
|
||||
G_TYPE_UINT64, splitmux->max_in_running_time, NULL));
|
||||
|
||||
GST_SPLITMUX_UNLOCK (splitmux);
|
||||
gst_pad_send_event (ctx->sinkpad, event);
|
||||
GST_SPLITMUX_LOCK (splitmux);
|
||||
/* fallthrough */
|
||||
}
|
||||
case SPLITMUX_STATE_START_NEXT_FRAGMENT:
|
||||
|
|
Loading…
Reference in a new issue