ignore bitparser error 72/33872/1 accepted/tizen_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/3.0/ivi/20150120.103014 accepted/tizen/common/20150119.084354 accepted/tizen/ivi/20150121.052705 accepted/tizen/mobile/20150119.094458 accepted/tizen/tv/20150119.093547 accepted/tizen/wearable/20150119.094016 submit/tizen/20150116.073322 submit/tizen_3.0_ivi/20150120.011540 submit/tizen_3.0_ivi/20150120.070303 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
authorYan Yin <yan.yin@intel.com>
Wed, 14 Jan 2015 09:19:40 +0000 (17:19 +0800)
committerArron Wang <arron.wang@intel.com>
Fri, 16 Jan 2015 05:02:35 +0000 (13:02 +0800)
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

index 6b57fa6..cbebd63 100644 (file)
@@ -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;
 }