From: Sebastian Dröge Date: Thu, 1 Dec 2011 15:20:36 +0000 (+0100) Subject: omxvideodec: Properly drop frames due to QoS X-Git-Tag: 1.19.3~501^2~800 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4e632cefe4a83e2e46d95e387a157d99223f9ff;p=platform%2Fupstream%2Fgstreamer.git omxvideodec: Properly drop frames due to QoS Instead of finishing them they should be passed to drop(), which will then send QoS messages. --- diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 07a278f..eb4c21c 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -728,7 +728,7 @@ gst_omx_video_dec_loop (GstOMXVideoDec * self) "Frame is too late, dropping (deadline %" GST_TIME_FORMAT ")", GST_TIME_ARGS (-deadline)); flow_ret = - gst_base_video_decoder_finish_frame (GST_BASE_VIDEO_DECODER (self), + gst_base_video_decoder_drop_frame (GST_BASE_VIDEO_DECODER (self), frame); } else if (!frame && buf->omx_buf->nFilledLen > 0) { GstBuffer *outbuf;