summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHe Junyan <junyan.he@intel.com>2020-07-31 19:17:39 +0800
committerHe Junyan <junyan.he@intel.com>2020-08-06 00:21:36 +0800
commit6e97062d35d3da4b91e9280f8ae2fb8e710e22c6 (patch)
tree3196896e488552faa00b64443976061ba38b8fdf
parent89580cc2308cb8bd9d3cc6c673a2e0064b09e064 (diff)
video format: Fix P012_LE's chrome type typo.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/375>
-rw-r--r--gst-libs/gst/vaapi/video-format.c2
1 files changed, 1 insertions, 1 deletions
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),