diff options
-rw-r--r-- | omx/gstomxvideodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 6b1882d..b1ef29b 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -2994,7 +2994,7 @@ gst_omx_video_dec_handle_frame (GstVideoDecoder * decoder, } if (!self->started) { - if (!GST_VIDEO_CODEC_FRAME_IS_SYNC_POINT (frame)) { + if (!GST_VIDEO_CODEC_FRAME_IS_SYNC_POINT (frame) && !header) { gst_video_decoder_drop_frame (GST_VIDEO_DECODER (self), frame); return GST_FLOW_OK; } |