mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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 ();
|
g_assert_not_reached ();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
goto retry;
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (self, "Got output buffer at index %d", idx);
|
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 ();
|
g_assert_not_reached ();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (idx >= self->n_input_buffers)
|
if (idx >= self->n_input_buffers)
|
||||||
|
|
Loading…
Reference in a new issue