From 6e97062d35d3da4b91e9280f8ae2fb8e710e22c6 Mon Sep 17 00:00:00 2001 From: He Junyan Date: Fri, 31 Jul 2020 19:17:39 +0800 Subject: video format: Fix P012_LE's chrome type typo. Part-of: --- gst-libs/gst/vaapi/video-format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst-libs') diff --git a/gst-libs/gst/vaapi/video-format.c b/gst-libs/gst/vaapi/video-format.c index fe466794..310cbeff 100644 --- a/gst-libs/gst/vaapi/video-format.c +++ b/gst-libs/gst/vaapi/video-format.c @@ -106,7 +106,7 @@ static const GstVideoFormatMap gst_vaapi_video_default_formats[] = { DEF_YUV (VA_BYTE_ORDER_NOT_CARE, GRAY8, INVALID, ('Y', '8', '0', '0'), 8, 400), DEF_YUV (VA_LSB_FIRST, P010_10LE, P010, ('P', '0', '1', '0'), 24, 420_10BPP), - DEF_YUV (VA_LSB_FIRST, P012_LE, P012, ('P', '0', '1', '2'), 24, 420_10BPP), + DEF_YUV (VA_LSB_FIRST, P012_LE, P012, ('P', '0', '1', '2'), 24, 420_12BPP), /* AYUV is a clear defined format by doc */ DEF_YUV (VA_LSB_FIRST, VUYA, AYUV, ('A', 'Y', 'U', 'V'), 32, 444), -- cgit v1.2.1