mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -818,9 +818,9 @@ gst_v4l2_video_enc_handle_frame (GstVideoEncoder * encoder,
|
||||||
gst_object_unref (opool);
|
gst_object_unref (opool);
|
||||||
goto activate_failed;
|
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) {
|
if (task_state == GST_TASK_STOPPED || task_state == GST_TASK_PAUSED) {
|
||||||
|
|
Loading…
Reference in a new issue