msdkdec: Fix advanced profile vc1 decode when codec_data presents
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 3 Jul 2018 00:48:11 +0000 (16:48 -0800)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 3 Jul 2018 00:48:11 +0000 (16:48 -0800)
commitad6162e99b8b06d11a783929720c7e94c113b57b
tree1330d71153a442397742dfb7009d57e19992a667
parent9efb4c9179aa48437d8d4dbe7fc78f4494602005
msdkdec: Fix advanced profile vc1 decode when codec_data presents

The gst-msdk decoders only support packetized formats for
all codecs except VC1. For VC1, it supports codec_data for advanced
profiles and this codec_data wan't submitting to MSDK's DecodeHeader APIs.
Make sure the subclass deocders correctly configured so that
the codec_data buffers are in place in the internal adapter for
MediaSDK's DecoderHeader usage.
sys/msdk/gstmsdkdec.c