v4l2allocator: Return a GstFlowReturn instead of boolean in alloc
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 23 May 2014 19:55:08 +0000 (15:55 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Sat, 24 May 2014 19:38:53 +0000 (15:38 -0400)
sys/v4l2/gstv4l2bufferpool.c

index a37ff7f..0d00149 100644 (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;
   }
 }