summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2014-04-08 18:54:09 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2014-05-08 15:56:36 -0400
commit83f053e980079bbace645c36566f343e0a023201 (patch)
treed848e3b11e1a767d81497f9ed4c0daf575298c0a /sys
parentacebdd86dac3e54db5c6e4004df17b94b78c67b7 (diff)
v4l2object: Always set a size when deciding allocation
Diffstat (limited to 'sys')
-rw-r--r--sys/v4l2/gstv4l2object.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
index 4cecc52a1..3c70ec53c 100644
--- a/sys/v4l2/gstv4l2object.c
+++ b/sys/v4l2/gstv4l2object.c
@@ -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;