Commit 4b2808c3 authored by Nicolas Dufresne's avatar Nicolas Dufresne

v4l2bufferpool: Also update num_buffers for import cases

https://bugzilla.gnome.org/show_bug.cgi?id=730207
parent a62b2808
......@@ -696,6 +696,7 @@ gst_v4l2_buffer_pool_start (GstBufferPool * bpool)
goto no_buffers;
}
num_buffers = count;
break;
}
case GST_V4L2_IO_DMABUF_IMPORT:
......@@ -719,6 +720,7 @@ gst_v4l2_buffer_pool_start (GstBufferPool * bpool)
goto no_buffers;
}
num_buffers = count;
break;
}
default:
......
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