mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
splitmuxsink: Fix deadlock case when source reaches EOS
https://bugzilla.gnome.org/show_bug.cgi?id=765072
This commit is contained in:
parent
36597cf201
commit
0fc02f35c7
1 changed files with 5 additions and 0 deletions
|
@ -942,6 +942,11 @@ check_completed_gop (GstSplitMuxSink * splitmux, MqStreamCtx * ctx)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* If upstream reached EOS we are not expecting more data, no need to wait
|
||||||
|
* here. */
|
||||||
|
if (ctx->in_eos)
|
||||||
|
return;
|
||||||
|
|
||||||
/* Some pad is not yet ready, or GOP is being pushed
|
/* Some pad is not yet ready, or GOP is being pushed
|
||||||
* either way, sleep and wait to get woken */
|
* either way, sleep and wait to get woken */
|
||||||
current_max_in_running_time = splitmux->max_in_running_time;
|
current_max_in_running_time = splitmux->max_in_running_time;
|
||||||
|
|
Loading…
Reference in a new issue