Use correct buffer variable

This commit is contained in:
Sebastian Dröge 2012-09-14 16:09:48 +02:00
parent bb8e53d4b8
commit 0143418e0c

View file

@ -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);