mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Revert "splitmuxsink: Avoid assertion when WAITING_GOP_COLLECT on reference context"
This reverts commit f29c19be58
. If this is
called for the reference context then we would run into an infinite
loop, which is not really better than an assertion.
By fixing up DTS to never be ahead of the PTS in the previous commit
this situation should be impossible to hit now.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4498>
This commit is contained in:
parent
de907c225b
commit
3044b0992f
1 changed files with 3 additions and 5 deletions
|
@ -3184,13 +3184,11 @@ handle_mq_input (GstPad * pad, GstPadProbeInfo * info, MqStreamCtx * ctx)
|
|||
}
|
||||
break;
|
||||
case SPLITMUX_INPUT_STATE_WAITING_GOP_COLLECT:{
|
||||
/* We're collecting a GOP, this is normally only called for non-reference
|
||||
/* We're collecting a GOP, this is only ever called for non-reference
|
||||
* contexts as the reference context would be waiting inside
|
||||
* check_completed_gop() */
|
||||
if (G_UNLIKELY (ctx->is_reference)) {
|
||||
check_completed_gop (splitmux, ctx);
|
||||
break;
|
||||
}
|
||||
|
||||
g_assert (!ctx->is_reference);
|
||||
|
||||
/* If we overran the target timestamp, it might be time to process
|
||||
* the GOP, otherwise bail out for more data. */
|
||||
|
|
Loading…
Reference in a new issue