mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
v4l2object: unref downstream pool
https://bugzilla.gnome.org/show_bug.cgi?id=720568
This commit is contained in:
parent
c701dcd16c
commit
ba81eeb16b
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue