Fixed Bug-Tizen: TC-1958, for some videos containing bad frames,
bitstream parse fails and vaapidecode can't tolerate this error,
this is a workaround fix to ignore the bitparser error and allow
video continue playback.
Change-Id: Id1b2742a21a509fabc9f3282e58d60db32eba881
result = gst_h264_parser_parse_sei(priv->parser, &pi->nalu, sei_ptr);
if (result != GST_H264_PARSER_OK) {
GST_WARNING("failed to parse SEI messages");
- return get_status(result);
+ return GST_VAAPI_DECODER_STATUS_SUCCESS;
}
return GST_VAAPI_DECODER_STATUS_SUCCESS;
}