v4l2bufferpool: Also update num_buffers for import cases
https://bugzilla.gnome.org/show_bug.cgi?id=730207
This commit is contained in:
parent
a62b280873
commit
4b2808c310
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user