mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
Use correct buffer variable
This commit is contained in:
parent
bb8e53d4b8
commit
0143418e0c
1 changed files with 2 additions and 2 deletions
|
@ -549,7 +549,7 @@ retry:
|
||||||
goto retry;
|
goto retry;
|
||||||
break;
|
break;
|
||||||
case G_MININT:
|
case G_MININT:
|
||||||
GST_ERROR_OBJECT (self, "Failure dequeueing input buffer");
|
GST_ERROR_OBJECT (self, "Failure dequeueing output buffer");
|
||||||
goto dequeue_error;
|
goto dequeue_error;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -575,7 +575,7 @@ retry:
|
||||||
* let's handle it gracefully by allocating a new buffer for the current
|
* let's handle it gracefully by allocating a new buffer for the current
|
||||||
* caps and filling it
|
* caps and filling it
|
||||||
*/
|
*/
|
||||||
if (idx >= self->n_input_buffers)
|
if (idx >= self->n_output_buffers)
|
||||||
goto invalid_buffer_index;
|
goto invalid_buffer_index;
|
||||||
|
|
||||||
outbuf = gst_buffer_try_new_and_alloc (buffer_info.size);
|
outbuf = gst_buffer_try_new_and_alloc (buffer_info.size);
|
||||||
|
|
Loading…
Reference in a new issue