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
@ -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…
x
Reference in New Issue
Block a user