From d0443cfb65220e6b2c8aa4e658e114c9e18995ca Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Tue, 1 Nov 2011 20:37:17 +0000 Subject: [PATCH] colorspace: fix r210 writing only half a scanline https://bugzilla.gnome.org/show_bug.cgi?id=663203 --- gst/colorspace/colorspace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/colorspace/colorspace.c b/gst/colorspace/colorspace.c index bfaa9e7b39..118008ed0a 100644 --- a/gst/colorspace/colorspace.c +++ b/gst/colorspace/colorspace.c @@ -1308,7 +1308,7 @@ putline16_r210 (ColorspaceConvert * convert, guint8 * dest, const guint16 * src, { int i; guint8 *destline = FRAME_GET_LINE (dest, 0, j); - for (i = 0; i < convert->width / 2; i++) { + for (i = 0; i < convert->width; i++) { guint32 x = 0; x |= (src[i * 4 + 1] & 0xffc0) << 14; x |= (src[i * 4 + 2] & 0xffc0) << 4;