From 3de690ceda3f1006c38e52210245f43940d70f42 Mon Sep 17 00:00:00 2001 From: Haihao Xiang Date: Wed, 11 Mar 2020 14:55:33 +0800 Subject: [PATCH] msdkh265dec: add support for main-422-12, main-422-12-intra profiles The video format is Y212_LE --- sys/msdk/gstmsdkh265dec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/msdk/gstmsdkh265dec.c b/sys/msdk/gstmsdkh265dec.c index 722fd21a47..81e39d5888 100644 --- a/sys/msdk/gstmsdkh265dec.c +++ b/sys/msdk/gstmsdkh265dec.c @@ -39,7 +39,8 @@ GST_DEBUG_CATEGORY_EXTERN (gst_msdkh265dec_debug); #define GST_CAT_DEFAULT gst_msdkh265dec_debug -#define COMMON_FORMAT "{ NV12, P010_10LE, YUY2, Y210, VUYA, Y410, P012_LE }" +#define COMMON_FORMAT \ + "{ NV12, P010_10LE, YUY2, Y210, VUYA, Y410, P012_LE, Y212_LE }" /* TODO: update both sink and src dynamically */ static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",