v4l2allocator: Return a GstFlowReturn instead of boolean in alloc

This commit is contained in:
Nicolas Dufresne 2014-05-23 15:55:08 -04:00 committed by Nicolas Dufresne
parent 43643b8e26
commit 6a07e96734

View file

@ -406,7 +406,7 @@ gst_v4l2_buffer_pool_alloc_buffer (GstBufferPool * bpool, GstBuffer ** buffer,
allocation_failed:
{
GST_ERROR_OBJECT (pool, "failed to allocate buffer");
return FALSE;
return GST_FLOW_ERROR;
}
}