Retry for negative return values when dequeueing buffers
This commit is contained in:
parent
911ca50971
commit
6a48db3d0f
@ -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…
x
Reference in New Issue
Block a user