msdkvpp: add YV12 format to src pad
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Thu, 19 Mar 2020 16:28:28 +0000 (09:28 -0700)
committerU. Artie Eoff <ullysses.a.eoff@intel.com>
Thu, 19 Mar 2020 16:31:59 +0000 (09:31 -0700)
VPP YV12 output format support added since
MFX_VERSION 1032.

https://github.com/Intel-Media-SDK/MediaSDK/pull/2027

sys/msdk/gstmsdkvpp.c

index cca4a68e71d9c32e7baf6e7d5098b21a02306abe..37a40c77b043e2127f69d15f637385500895a6db 100644 (file)
 #endif
 #endif
 
-#if (MFX_VERSION >= 1028)
+#if (MFX_VERSION >= 1032)
+#define EXT_SINK_FORMATS        ", RGB16, Y410, Y210"
+#define EXT_SRC_FORMATS         ", YV12, Y410, Y210"
+#elif (MFX_VERSION >= 1028)
 #define EXT_SINK_FORMATS        ", RGB16, Y410, Y210"
 #define EXT_SRC_FORMATS         ", Y410, Y210"
 #elif (MFX_VERSION >= 1027)