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/3786>
This commit is contained in:
Pawel Stawicki 2023-01-25 00:52:28 +00:00 committed by GStreamer Marge Bot
parent 56513a18cb
commit 492d2b6498

View file

@ -4643,8 +4643,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);