mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
v4l2transform: Ensure output pool is activated
That pool may be different then the internal pool.
This commit is contained in:
parent
91efa79ed9
commit
10b67e9913
1 changed files with 3 additions and 0 deletions
|
@ -439,6 +439,9 @@ gst_v4l2_transform_prepare_output_buffer (GstBaseTransform * trans,
|
|||
|
||||
pool = gst_base_transform_get_buffer_pool (trans);
|
||||
|
||||
if (!gst_buffer_pool_set_active (pool, TRUE))
|
||||
goto activate_failed;
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Dequeue output buffer");
|
||||
ret = gst_buffer_pool_acquire_buffer (pool, outbuf, NULL);
|
||||
g_object_unref (pool);
|
||||
|
|
Loading…
Reference in a new issue