mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
omxvideodec: Don't drop the frame on empty payload
This otherwise may lead to "No reference frame found" warning.
This commit is contained in:
parent
32660fd294
commit
fb455242e9
1 changed files with 3 additions and 1 deletions
|
@ -1788,7 +1788,9 @@ gst_omx_video_dec_loop (GstOMXVideoDec * self)
|
|||
}
|
||||
}
|
||||
} else if (frame != NULL) {
|
||||
flow_ret = gst_video_decoder_drop_frame (GST_VIDEO_DECODER (self), frame);
|
||||
/* Just ignore empty buffers, don't drop a frame for that */
|
||||
flow_ret = GST_FLOW_OK;
|
||||
gst_video_codec_frame_unref (frame);
|
||||
frame = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue