fix up! fix up! good:v4l2bufferpool: Fix crash when v4l2h264dec is stopped 47/319647/1 accepted/tizen_9.0_unified accepted/tizen/9.0/unified/20250218.171956
authorJeongmo Yang <jm80.yang@samsung.com>
Fri, 14 Feb 2025 04:23:23 +0000 (13:23 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Fri, 14 Feb 2025 05:02:03 +0000 (14:02 +0900)
- GST_OBJECT_LOCK/UNLOCK() was added before gst_v4l2_buffer_pool_streamoff()
  in gst_v4l2_buffer_pool_flush() by upstream patch.
  It caused timeout in gst_v4l2_buffer_pool_streamoff() for capture stream.
  The issue is fixed.

[Version] 1.22.8-17
[Issue Type] Bug fix

Change-Id: I744f702649eda6cb2e98fa033498e6a03869942d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/gstreamer.spec
subprojects/gst-plugins-good/sys/v4l2/gstv4l2bufferpool.c

index bcec5b1f7708664b59d68b4ce7ba6180f35b73c8..efad099e1dedff27e0f5aea74d25e6dbb84f7178 100644 (file)
@@ -62,7 +62,7 @@
 
 Name:           %{_name}
 Version:        1.22.8
-Release:        16
+Release:        17
 Summary:        Streaming-Media Framework Runtime
 License:        LGPL-2.0+
 Group:          Multimedia/Framework
index 809ae57d351a6a1267bcda0c71111a6477d8248a..1b801a044746e03ceb9c6b19cee636197186bf28 100644 (file)
@@ -2527,7 +2527,7 @@ gst_v4l2_buffer_pool_flush (GstV4l2Object * v4l2object)
 
   GST_OBJECT_LOCK (pool);
 #ifdef TIZEN_FEATURE_V4L2_TBM_SUPPORT
-  gst_v4l2_buffer_pool_streamoff (pool, FALSE);
+  gst_v4l2_buffer_pool_streamoff (pool, TRUE);
 #else
   gst_v4l2_buffer_pool_streamoff (pool);
 #endif