mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-04 07:09:56 +00:00
v4l2object: Always set a size when deciding allocation
This commit is contained in:
parent
acebdd86da
commit
83f053e980
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
pool);
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (obj->element,
|
||||
"streaming mode: no usable pool, copying to generic pool");
|
||||
size = MAX (size, obj->sizeimage);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue