mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
Retry for negative return values when dequeueing buffers
This commit is contained in:
parent
911ca50971
commit
6a48db3d0f
1 changed files with 4 additions and 0 deletions
|
@ -704,6 +704,8 @@ retry:
|
|||
g_assert_not_reached ();
|
||||
break;
|
||||
}
|
||||
|
||||
goto retry;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Got output buffer at index %d", idx);
|
||||
|
@ -1133,6 +1135,8 @@ gst_amc_video_dec_handle_frame (GstVideoDecoder * decoder,
|
|||
g_assert_not_reached ();
|
||||
break;
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
if (idx >= self->n_input_buffers)
|
||||
|
|
Loading…
Reference in a new issue