From 1b4c9eaebb335c6a64f549133f4192b1a7717076 Mon Sep 17 00:00:00 2001 From: He Junyan Date: Wed, 16 Jun 2021 16:32:30 +0800 Subject: [PATCH] va: Fix a typo in video format mapping. GST_VIDEO_FORMAT_Y412_LE is a 4:4:4 format and so should be mapped to VA_RT_YUV444_12 rt format. Part-of: --- sys/va/gstvavideoformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/va/gstvavideoformat.c b/sys/va/gstvavideoformat.c index 6b4c1a9..3bb6ec2 100644 --- a/sys/va/gstvavideoformat.c +++ b/sys/va/gstvavideoformat.c @@ -85,7 +85,7 @@ static struct FormatMap /* F (????, Y216), */ G (Y410, ('Y', '4', '1', '0'), YUV444_10, NSB, 32), G (Y212_LE, ('Y', '2', '1', '2'), YUV422_12, NSB, 32), - G (Y412_LE, ('Y', '4', '1', '2'), YUV422_12, NSB, 32), + G (Y412_LE, ('Y', '4', '1', '2'), YUV444_12, NSB, 32), /* F (????, Y416), */ /* F (????, YV16), */ G (P010_10LE, ('P', '0', '1', '0'), YUV420_10, NSB, 24), -- 2.7.4