From: Pawel Stawicki Date: Wed, 25 Jan 2023 00:52:28 +0000 (+0000) Subject: v4l2h264dec: Fix Raspberry Pi4 will not play video in application X-Git-Tag: 1.22.7~540 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=67df248270491116af6099bf3bec5c740dfe3042;p=platform%2Fupstream%2Fgstreamer.git 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: --- 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);