summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-12 19:17:08 +0100
committerJosep Torra <n770galaxy@gmail.com>2013-03-15 08:40:17 +0100
commitb9735a5d14a94ee571f47ea3dab39ad834695bd2 (patch)
tree71ea602d6d0a35bb133774b6eb8c1e7ba5bbc8cd
parentab9e2dfa483a0562e4ae31a2705fa6066586aa37 (diff)
downloadgst-omx-b9735a5d14a94ee571f47ea3dab39ad834695bd2.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 8f6d375..4a9b777 100644
--- a/omx/gstomxvideodec.c
+++ b/omx/gstomxvideodec.c
@@ -383,7 +383,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);
}
}