From ef357cce80bb549fad6039fc6296e6520096326d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 12 Mar 2013 19:17:08 +0100 Subject: omxvideodec: Drop too late frames instead of finishing them --- omx/gstomxvideodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.1