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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2332>
This commit is contained in:
He Junyan 2021-06-16 16:32:30 +08:00 committed by GStreamer Marge Bot
parent 7feed2f1ac
commit 1b4c9eaebb

View file

@ -85,7 +85,7 @@ static struct FormatMap
/* F (????, Y216), */ /* F (????, Y216), */
G (Y410, ('Y', '4', '1', '0'), YUV444_10, NSB, 32), G (Y410, ('Y', '4', '1', '0'), YUV444_10, NSB, 32),
G (Y212_LE, ('Y', '2', '1', '2'), YUV422_12, 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 (????, Y416), */
/* F (????, YV16), */ /* F (????, YV16), */
G (P010_10LE, ('P', '0', '1', '0'), YUV420_10, NSB, 24), G (P010_10LE, ('P', '0', '1', '0'), YUV420_10, NSB, 24),