diff --git a/subprojects/gst-plugins-bad/sys/msdk/gstmsdkvpp.c b/subprojects/gst-plugins-bad/sys/msdk/gstmsdkvpp.c index 0439e49dd6..50687e2f3a 100644 --- a/subprojects/gst-plugins-bad/sys/msdk/gstmsdkvpp.c +++ b/subprojects/gst-plugins-bad/sys/msdk/gstmsdkvpp.c @@ -71,11 +71,14 @@ #endif #if (MFX_VERSION >= 2004) -#define EXT_SINK_FORMATS ", RGB16, Y410, Y210" -#define EXT_SRC_FORMATS ", YV12, Y410, Y210, RGBP, BGRP" +#define EXT_SINK_FORMATS ", RGB16, Y410, Y210, P012_LE, Y212_LE, Y412_LE" +#define EXT_SRC_FORMATS ", YV12, Y410, Y210, RGBP, BGRP, P012_LE, Y212_LE, Y412_LE" #elif (MFX_VERSION >= 1032) -#define EXT_SINK_FORMATS ", RGB16, Y410, Y210" -#define EXT_SRC_FORMATS ", YV12, Y410, Y210" +#define EXT_SINK_FORMATS ", RGB16, Y410, Y210, P012_LE, Y212_LE, Y412_LE" +#define EXT_SRC_FORMATS ", YV12, Y410, Y210, P012_LE, Y212_LE, Y412_LE" +#elif (MFX_VERSION >= 1031) +#define EXT_SINK_FORMATS ", RGB16, Y410, Y210, P012_LE, Y212_LE, Y412_LE" +#define EXT_SRC_FORMATS ", Y410, Y210, P012_LE, Y212_LE, Y412_LE" #elif (MFX_VERSION >= 1028) #define EXT_SINK_FORMATS ", RGB16, Y410, Y210" #define EXT_SRC_FORMATS ", Y410, Y210"