omxvideodec: Drop too late frames instead of finishing them
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 12 Mar 2013 18:17:08 +0000 (19:17 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 13 Mar 2013 08:37:43 +0000 (09:37 +0100)
omx/gstomxvideodec.c

index 93db0e0..77e159c 100644 (file)
@@ -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);
     }
   }