From e4d27cfa603d29f7c3d7e1141fad41668a60e484 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Mon, 7 Nov 2011 18:19:51 +0000 Subject: [PATCH] videoconvert: fix r210 writing only half a scanline --- gst/videoconvert/videoconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videoconvert/videoconvert.c b/gst/videoconvert/videoconvert.c index 690d4e0ae5..572c684da6 100644 --- a/gst/videoconvert/videoconvert.c +++ b/gst/videoconvert/videoconvert.c @@ -1293,7 +1293,7 @@ putline16_r210 (VideoConvert * convert, GstVideoFrame * dest, { 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;