mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
v4l2object: Don't keep the max paramter when using our own pool
https://bugzilla.gnome.org/show_bug.cgi?id=720568
This commit is contained in:
parent
994c5d2c93
commit
b261287745
1 changed files with 1 additions and 0 deletions
|
@ -3216,6 +3216,7 @@ gst_v4l2_object_decide_allocation (GstV4l2Object * obj, GstQuery * query)
|
||||||
/* in streaming mode, prefer our own pool */
|
/* in streaming mode, prefer our own pool */
|
||||||
pool = GST_BUFFER_POOL_CAST (obj->pool);
|
pool = GST_BUFFER_POOL_CAST (obj->pool);
|
||||||
size = obj->sizeimage;
|
size = obj->sizeimage;
|
||||||
|
max = 0;
|
||||||
GST_DEBUG_OBJECT (obj->element,
|
GST_DEBUG_OBJECT (obj->element,
|
||||||
"streaming mode: using our own pool %" GST_PTR_FORMAT, pool);
|
"streaming mode: using our own pool %" GST_PTR_FORMAT, pool);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue