Commit ba81eeb1 authored by Julien Isorce's avatar Julien Isorce Committed by Nicolas Dufresne
Browse files

v4l2object: unref downstream pool

https://bugzilla.gnome.org/show_bug.cgi?id=720568
parent c701dcd1
......@@ -3292,6 +3292,8 @@ gst_v4l2_object_decide_allocation (GstV4l2Object * obj, GstQuery * query)
case GST_V4L2_IO_USERPTR:
case GST_V4L2_IO_DMABUF:
/* in streaming mode, prefer our own pool */
if (pool)
gst_object_unref (pool);
pool = GST_BUFFER_POOL_CAST (obj->pool);
size = obj->sizeimage;
max = 0;
......
Markdown is supported
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