h264: skip all Filler Data NALs.

This commit is contained in:
Gwenole Beauchesne 2012-03-23 17:11:18 +01:00
parent 81ab8dad37
commit 7277f0e220

View file

@ -2279,6 +2279,10 @@ decode_buffer(GstVaapiDecoderH264 *decoder, GstBuffer *buffer)
/* skip all Access Unit NALs */
status = GST_VAAPI_DECODER_STATUS_SUCCESS;
break;
case GST_H264_NAL_FILLER_DATA:
/* skip all Filler Data NALs */
status = GST_VAAPI_DECODER_STATUS_SUCCESS;
break;
default:
GST_DEBUG("unsupported NAL unit type %d", nalu.type);
status = GST_VAAPI_DECODER_STATUS_ERROR_BITSTREAM_PARSER;