mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
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).
This commit is contained in:
parent
6863a09803
commit
5185b97c8a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue