From: U. Artie Eoff Date: Thu, 19 Mar 2020 16:28:28 +0000 (-0700) Subject: msdkvpp: add YV12 format to src pad X-Git-Tag: 1.19.3~507^2~2188 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09d41b0b7d6412694607b482a701e5559cd7125f;p=platform%2Fupstream%2Fgstreamer.git msdkvpp: add YV12 format to src pad VPP YV12 output format support added since MFX_VERSION 1032. https://github.com/Intel-Media-SDK/MediaSDK/pull/2027 --- diff --git a/sys/msdk/gstmsdkvpp.c b/sys/msdk/gstmsdkvpp.c index cca4a68..37a40c7 100644 --- a/sys/msdk/gstmsdkvpp.c +++ b/sys/msdk/gstmsdkvpp.c @@ -54,7 +54,10 @@ #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)