msdkvp9enc: output raw vp9 stream instead of IVF stream
authorHaihao Xiang <haihao.xiang@intel.com>
Wed, 15 Jan 2020 08:02:11 +0000 (16:02 +0800)
committerHaihao Xiang <haihao.xiang@intel.com>
Mon, 10 Feb 2020 06:46:28 +0000 (06:46 +0000)
commit50ae5061f93128d153dac4edc688b5daf98f8144
tree37b39dab372adec24dbee6f72b5dfc098054f701
parent6c1e5ab3110b5635f46a28c1d192a71fed38025b
msdkvp9enc: output raw vp9 stream instead of IVF stream

video/x-vp9 is required in the src pad, however the output includes a
IVF header, which makes the pipeline below doesn't work

  gst-launch-1.0 videotestsrc ! msdkvp9enc ! msdkvp9dec ! fakesink

Since mfx 1.26, the VP9 encoder supports bitstream without IVF header,
so in this patch, the mfx version is checked and msdkvp9enc is enabled
only if mfx 1.26+ is available
sys/msdk/gstmsdk.c
sys/msdk/gstmsdkvp9enc.c
sys/msdk/gstmsdkvp9enc.h
sys/msdk/meson.build