fix up! fix up! good:v4l2bufferpool: Fix crash when v4l2h264dec is stopped 43/319643/1 accepted/tizen/unified/20250217.155024 accepted/tizen/unified/x/20250221.042206
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 04:23:23 +0000 (13:23 +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.24.11-3
[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 0afb7a3569f2f0ce8e83e00245db96c9745ff235..6726cb3e88152325ddbdbe0f4987c9ee5675b64c 100644 (file)
@@ -60,7 +60,7 @@
 
 Name:           %{_name}
 Version:        1.24.11
-Release:        2
+Release:        3
 Summary:        Streaming-Media Framework Runtime
 License:        LGPL-2.0+
 Group:          Multimedia/Framework
index e5796a495ab3b3a10643251b2caf536924328a85..06b5e519a49686b2e480e3eb777dc70ae00ade04 100644 (file)
@@ -2558,7 +2558,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