msdkh265dec: add support for main-12, main-12-intra profiles

The video format is P012_LE
This commit is contained in:
Haihao Xiang 2020-03-10 15:42:48 +08:00
parent 94fa88b6da
commit 49604d8fbe

View file

@ -39,7 +39,7 @@
GST_DEBUG_CATEGORY_EXTERN (gst_msdkh265dec_debug);
#define GST_CAT_DEFAULT gst_msdkh265dec_debug
#define COMMON_FORMAT "{ NV12, P010_10LE, YUY2, Y210, VUYA, Y410 }"
#define COMMON_FORMAT "{ NV12, P010_10LE, YUY2, Y210, VUYA, Y410, P012_LE }"
/* TODO: update both sink and src dynamically */
static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",