v4l2videodec: Send flush buffer event when EOS 90/257090/1 accepted/tizen/unified/20210421.002300 submit/tizen/20210419.092717
authorJeongmo Yang <jm80.yang@samsung.com>
Mon, 19 Apr 2021 08:40:07 +0000 (17:40 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Mon, 19 Apr 2021 08:40:07 +0000 (17:40 +0900)
[Version] 1.16.2-23
[Issue Type] Update

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

index fbca86c..4af5b0b 100644 (file)
@@ -3,7 +3,7 @@
 
 Name:           gst-plugins-good
 Version:        1.16.2
-Release:        22
+Release:        23
 License:        LGPL-2.1+
 Summary:        GStreamer Streaming-Media Framework Plug-Ins
 Url:            http://gstreamer.freedesktop.org/
index 9261571..7642085 100644 (file)
@@ -558,6 +558,10 @@ gst_v4l2_video_dec_loop (GstVideoDecoder * decoder)
 beach:
   GST_DEBUG_OBJECT (decoder, "Leaving output thread: %s",
       gst_flow_get_name (ret));
+#ifdef TIZEN_FEATURE_V4L2_TBM_SUPPORT
+  if (ret == GST_FLOW_EOS)
+    gst_v4l2_video_dec_flush_buffer_event (decoder);
+#endif
 
   gst_buffer_replace (&buffer, NULL);
   self->output_flow = ret;