diff options
author | He Junyan <junyan.he@intel.com> | 2021-06-16 16:32:30 +0800 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-06-16 14:12:59 +0000 |
commit | 1b4c9eaebb335c6a64f549133f4192b1a7717076 (patch) | |
tree | 420dfc393d16b2b0e0e193782b655f19f3f55e58 /sys/va/gstvavideoformat.c | |
parent | 7feed2f1ac70f601c9b157feb542fe1cdcbe8f8b (diff) | |
download | gstreamer-plugins-bad-1b4c9eaebb335c6a64f549133f4192b1a7717076.tar.gz |
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>
Diffstat (limited to 'sys/va/gstvavideoformat.c')
-rw-r--r-- | sys/va/gstvavideoformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/va/gstvavideoformat.c b/sys/va/gstvavideoformat.c index 6b4c1a921..3bb6ec2f3 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), |