Do not drop non-I-frame after flushing 43/232843/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.105602 accepted/tizen/6.0/unified/hotfix/20201102.233412 accepted/tizen/6.0/unified/hotfix/20201103.045753 accepted/tizen/unified/20200510.220431 submit/tizen/20200508.050941 submit/tizen_6.0/20201029.205502 submit/tizen_6.0_hotfix/20201102.192902 submit/tizen_6.0_hotfix/20201103.115102 tizen_6.0.m2_release
authorJeongmo Yang <jm80.yang@samsung.com>
Fri, 8 May 2020 02:16:26 +0000 (11:16 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Fri, 8 May 2020 02:16:26 +0000 (11:16 +0900)
- Some contents have no I-frame,
  in this case, all the frame from demuxer will be dropped after seek.

[Version] 1.16.2-5
[Profile] Common
[Issue Type] Update

Change-Id: I90b4eb88cf34f96017f0136702414d9818822fd8
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
omx/gstomxvideodec.c
packaging/gst-omx.spec

index bbc8271..10b0296 100644 (file)
@@ -2952,8 +2952,12 @@ gst_omx_video_dec_handle_frame (GstVideoDecoder * decoder,
 
   if (!self->started) {
     if (!GST_VIDEO_CODEC_FRAME_IS_SYNC_POINT (frame)) {
+#ifdef TIZEN_FEATURE_OMX
+      GST_WARNING_OBJECT (self, "Not I frame[%"GST_TIME_FORMAT", but keep going...", GST_TIME_ARGS (frame->pts));
+#else /* TIZEN_FEATURE_OMX */
       gst_video_decoder_drop_frame (GST_VIDEO_DECODER (self), frame);
       return GST_FLOW_OK;
+#endif /* TIZEN_FEATURE_OMX */
     }
 
     if (gst_omx_port_is_flushing (self->dec_out_port)) {
index cbf152b..787c204 100755 (executable)
@@ -1,7 +1,7 @@
 Name:           gst-omx
 Summary:        GStreamer plug-in that allows communication with OpenMAX IL components
 Version:        1.16.2
-Release:        4
+Release:        5
 License:        LGPL-2.1+
 Group:          Multimedia/Framework
 Source0:        %{name}-%{version}.tar.gz