mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
splitmuxsink: Don't assert on the input side if no GOP is available when shutting down
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1119>
This commit is contained in:
parent
285be1ad32
commit
2d4491e195
1 changed files with 2 additions and 1 deletions
|
@ -3187,7 +3187,8 @@ handle_mq_input (GstPad * pad, GstPadProbeInfo * info, MqStreamCtx * ctx)
|
|||
|
||||
/* Update total input byte counter for overflow detect unless we're after
|
||||
* EOS now */
|
||||
if (splitmux->input_state != SPLITMUX_INPUT_STATE_FINISHING_UP) {
|
||||
if (splitmux->input_state != SPLITMUX_INPUT_STATE_FINISHING_UP
|
||||
&& splitmux->input_state != SPLITMUX_INPUT_STATE_STOPPED) {
|
||||
InputGop *gop = g_queue_peek_tail (&splitmux->pending_input_gops);
|
||||
|
||||
/* We must have a GOP at this point */
|
||||
|
|
Loading…
Reference in a new issue