From 6857c35fe2302706ee855f491e1be86a65f0494d Mon Sep 17 00:00:00 2001 From: Yan Yin Date: Wed, 14 Jan 2015 17:19:40 +0800 Subject: [PATCH] ignore bitparser error 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 --- gst-libs/gst/vaapi/gstvaapidecoder_h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_h264.c b/gst-libs/gst/vaapi/gstvaapidecoder_h264.c index 6b57fa6..cbebd63 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder_h264.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder_h264.c @@ -1598,7 +1598,7 @@ parse_sei(GstVaapiDecoderH264 *decoder, GstVaapiDecoderUnit *unit) 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; } -- 2.7.4