mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
omxvideodec: Drop too late frames instead of finishing them
This commit is contained in:
parent
fa7be0b618
commit
ef357cce80
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue