v4l2videoenc: unref buffer pool after usage properly
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7435>
This commit is contained in:
parent
6394113b26
commit
b1fd616514
@ -818,9 +818,9 @@ gst_v4l2_video_enc_handle_frame (GstVideoEncoder * encoder,
|
||||
gst_object_unref (opool);
|
||||
goto activate_failed;
|
||||
}
|
||||
if (opool)
|
||||
gst_object_unref (opool);
|
||||
}
|
||||
if (opool)
|
||||
gst_object_unref (opool);
|
||||
}
|
||||
|
||||
if (task_state == GST_TASK_STOPPED || task_state == GST_TASK_PAUSED) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user