Commit 5185b97c authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

gst/videotestsrc/videotestsrc.c: Fix stride for YVYU, should be word-aligned (#353658).

Original commit message from CVS:
* gst/videotestsrc/videotestsrc.c: (paint_setup_YVYU):
Fix stride for YVYU, should be word-aligned (#353658).
parent 6863a098
2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
* gst/videotestsrc/videotestsrc.c: (paint_setup_YVYU):
Fix stride for YVYU, should be word-aligned (#353658).
2006-08-31 Tim-Philipp Müller <tim at centricular dot net>
 
* gst/adder/gstadder.c: (gst_adder_src_event):
......
......@@ -746,7 +746,7 @@ paint_setup_YVYU (paintinfo * p, unsigned char *dest)
p->yp = dest;
p->up = dest + 3;
p->vp = dest + 1;
p->ystride = GST_ROUND_UP_2 (p->width * 2);
p->ystride = GST_ROUND_UP_2 (p->width) * 2;
p->endptr = dest + p->ystride * p->height;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment