From: Sebastian Dröge Date: Tue, 12 Mar 2013 18:17:08 +0000 (+0100) Subject: omxvideodec: Drop too late frames instead of finishing them X-Git-Tag: 1.19.3~501^2~618 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef357cce80bb549fad6039fc6296e6520096326d;p=platform%2Fupstream%2Fgstreamer.git omxvideodec: Drop too late frames instead of finishing them --- diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 93db0e0..77e159c 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -996,7 +996,7 @@ _find_nearest_frame (GstOMXVideoDec * self, GstOMXBuffer * buf) if (finish_frames) { g_warning ("Too old frames, bug in decoder -- please file a bug"); for (l = finish_frames; l; l = l->next) { - gst_video_decoder_finish_frame (GST_VIDEO_DECODER (self), l->data); + gst_video_decoder_drop_frame (GST_VIDEO_DECODER (self), l->data); } }