mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-15 11:55:32 +00:00
v4l2allocator: Return a GstFlowReturn instead of boolean in alloc
This commit is contained in:
parent
43643b8e26
commit
6a07e96734
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ gst_v4l2_buffer_pool_alloc_buffer (GstBufferPool * bpool, GstBuffer ** buffer,
|
||||||
allocation_failed:
|
allocation_failed:
|
||||||
{
|
{
|
||||||
GST_ERROR_OBJECT (pool, "failed to allocate buffer");
|
GST_ERROR_OBJECT (pool, "failed to allocate buffer");
|
||||||
return FALSE;
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue