summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-12 19:17:08 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-13 09:37:43 +0100
commitef357cce80bb549fad6039fc6296e6520096326d (patch)
treef2ba81d61e5573df69178d03c6cdeb2b5df58870
parentfa7be0b6183634e3e167c422e3b15f89d8e4496a (diff)
downloadgst-omx-ef357cce80bb549fad6039fc6296e6520096326d.tar.gz
omxvideodec: Drop too late frames instead of finishing them
-rw-r--r--omx/gstomxvideodec.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}