msdkdec: add postinit_decoder
authorHaihao Xiang <haihao.xiang@intel.com>
Fri, 29 Mar 2019 05:22:55 +0000 (13:22 +0800)
committerHaihao Xiang <haihao.xiang@intel.com>
Fri, 29 Mar 2019 05:32:06 +0000 (13:32 +0800)
commit8e4d7c364283528ac1348501360760a389138546
treebe47ece22079d2f14feb5e4f204cd0de188c887c
parent01051e7dfdf603a74f6fe96e114d3721eb763a5b
msdkdec: add postinit_decoder

The workaround for https://github.com/Intel-Media-SDK/MediaSDK/issues/1139
is required for vp8 only, so move this workaround to the corresponding
postinit_decoder function

The pipeline below works with this change

gst-launch-1.0 filesrc location=SA10104.vc1 ! \
'video/x-wmv,profile=(string)advanced',width=720,height=480,framerate=14/1 ! \
msdkvc1dec ! fakesink
sys/msdk/gstmsdkdec.c
sys/msdk/gstmsdkdec.h
sys/msdk/gstmsdkvp8dec.c