From 606ab04cd69db53ea68b53808b9d8904a42c7127 Mon Sep 17 00:00:00 2001 From: Haihao Xiang Date: Mon, 30 Sep 2019 10:27:03 +0800 Subject: [PATCH] video-format: correct the pixel stride for Y410 The stride for Y410 is 4 bytes, not 0 byte --- gst-libs/gst/video/video-format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/video/video-format.c b/gst-libs/gst/video/video-format.c index cc77f232ba..fc7d07adec 100644 --- a/gst-libs/gst/video/video-format.c +++ b/gst-libs/gst/video/video-format.c @@ -6036,7 +6036,7 @@ static const VideoFormat formats[] = { MAKE_YUV_FORMAT (Y210, "raw video", GST_MAKE_FOURCC ('Y', '2', '1', '0'), DPTH10_10_10, PSTR488, PLANE0, OFFS0, SUB422, PACK_Y210), MAKE_YUV_FORMAT (Y410, "raw video", GST_MAKE_FOURCC ('Y', '4', '1', '0'), - DPTH10_10_10_2, PSTR0, PLANE0, OFFS0, SUB4444, PACK_Y410), + DPTH10_10_10_2, PSTR4444, PLANE0, OFFS0, SUB4444, PACK_Y410), MAKE_YUVA_PACK_FORMAT (VUYA, "raw video", GST_MAKE_FOURCC ('V', 'U', 'Y', 'A'), DPTH8888, PSTR4444, PLANE0, OFFS2103, SUB4444, PACK_VUYA), MAKE_RGBA_LE_PACK_FORMAT (BGR10A2_LE, "raw video", DPTH10_10_10_2, PSTR4444,