Commit 83f053e9 authored by Nicolas Dufresne's avatar Nicolas Dufresne
Browse files

v4l2object: Always set a size when deciding allocation

parent acebdd86
......@@ -3138,6 +3138,9 @@ gst_v4l2_object_decide_allocation (GstV4l2Object * obj, GstQuery * query)
GST_DEBUG_OBJECT (obj->element,
"streaming mode: copying to downstream pool %" GST_PTR_FORMAT,
} else {
GST_DEBUG_OBJECT (obj->element,
"streaming mode: no usable pool, copying to generic pool");
size = MAX (size, obj->sizeimage);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment