The picture decoder should return GST_VAAPI_DECODER_STATUS_DROP_FRAME
when a frame should be skipped, so the stream processing is not stalled.
https://bugzilla.gnome.org/show_bug.cgi?id=733324
parser_result = gst_mpeg4_parse_video_object_plane(vop_hdr, sprite_trajectory, vol_hdr, buf, buf_size);
/* Need to skip this frame if VOP was not coded */
if (GST_MPEG4_PARSER_OK == parser_result && !vop_hdr->coded)
- return GST_VAAPI_DECODER_STATUS_ERROR_NO_DATA;
+ return GST_VAAPI_DECODER_STATUS_DROP_FRAME;
}
if (parser_result != GST_MPEG4_PARSER_OK) {