v4l2h264dec: Fix Raspberry Pi4 will not play video in application

Ensure object v4l2object->pool will be released by
correctly releasing the temporary thread-safety lock

Fixes issue #1729

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3795>
This commit is contained in:
Pawel Stawicki 2023-01-25 00:52:28 +00:00 committed by GStreamer Marge Bot
parent 7905628f32
commit d8bef5c7e7

View file

@ -4539,8 +4539,8 @@ gst_v4l2_object_stop (GstV4l2Object * v4l2object)
if (old_pool)
gst_object_unref (old_pool);
}
gst_object_unref (pool);
}
gst_object_unref (pool);
}
GST_V4L2_SET_INACTIVE (v4l2object);