From 67df248270491116af6099bf3bec5c740dfe3042 Mon Sep 17 00:00:00 2001 From: Pawel Stawicki Date: Wed, 25 Jan 2023 00:52:28 +0000 Subject: [PATCH] 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: --- subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c index 032fd69..a992341 100644 --- a/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c +++ b/subprojects/gst-plugins-good/sys/v4l2/gstv4l2object.c @@ -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); -- 2.7.4