mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +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;
|
||||
break;
|
||||
case G_MININT:
|
||||
GST_ERROR_OBJECT (self, "Failure dequeueing input buffer");
|
||||
GST_ERROR_OBJECT (self, "Failure dequeueing output buffer");
|
||||
goto dequeue_error;
|
||||
break;
|
||||
default:
|
||||
|
@ -575,7 +575,7 @@ retry:
|
|||
* let's handle it gracefully by allocating a new buffer for the current
|
||||
* caps and filling it
|
||||
*/
|
||||
if (idx >= self->n_input_buffers)
|
||||
if (idx >= self->n_output_buffers)
|
||||
goto invalid_buffer_index;
|
||||
|
||||
outbuf = gst_buffer_try_new_and_alloc (buffer_info.size);
|
||||
|
|
Loading…
Reference in a new issue