From 5ae7bbf5fb1623a05f6ecce6e9f0f3efa277ebea Mon Sep 17 00:00:00 2001 From: He Junyan Date: Tue, 12 Dec 2023 17:14:03 +0800 Subject: [PATCH] va: h265dec: Add support for more -still and -intra profiles They are actually compitable with the main and main-10 profiles. Part-of: --- subprojects/gst-plugins-bad/sys/va/gstvah265dec.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/subprojects/gst-plugins-bad/sys/va/gstvah265dec.c b/subprojects/gst-plugins-bad/sys/va/gstvah265dec.c index 6e523b2308..fa5eec5141 100644 --- a/subprojects/gst-plugins-bad/sys/va/gstvah265dec.c +++ b/subprojects/gst-plugins-bad/sys/va/gstvah265dec.c @@ -932,8 +932,8 @@ static const struct #define P(idc, va) { G_PASTE (GST_H265_PROFILE_, idc), G_PASTE (VAProfileHEVC, va) } P (MAIN, Main), P (MAIN_10, Main10), - /*P (MAIN_STILL_PICTURE, ), - P (MONOCHROME, ), + P (MAIN_STILL_PICTURE, Main), + /*P (MONOCHROME, ), P (MONOCHROME_12, ), P (MONOCHROME_16, ),*/ P (MAIN_12, Main12), @@ -942,9 +942,9 @@ static const struct P (MAIN_444, Main444), P (MAIN_444_10, Main444_10), P (MAIN_444_12, Main444_12), - /*P (MAIN_INTRA, ), - P (MAIN_10_INTRA, ), - P (MAIN_12_INTRA, ), + P (MAIN_INTRA, Main), + P (MAIN_10_INTRA, Main10), + /*P (MAIN_12_INTRA, ), P (MAIN_422_10_INTRA, ), P (MAIN_422_12_INTRA, ), P (MAIN_444_INTRA, ),