mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
gst/games/gstvideoimage.c: fix stupid typo that borked copying on YUY2
Original commit message from CVS: * gst/games/gstvideoimage.c: (copy_hline_YUY2): fix stupid typo that borked copying on YUY2
This commit is contained in:
parent
2ed845fcad
commit
37f6d73af6
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-01-06 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
* gst/games/gstvideoimage.c: (copy_hline_YUY2):
|
||||
fix stupid typo that borked copying on YUY2
|
||||
|
||||
2005-01-06 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
* gst/games/gstpuzzle.c: (draw_puzzle):
|
||||
|
|
|
@ -493,7 +493,7 @@ copy_hline_YUY2 (GstVideoImage * dest, int xdest, int ydest,
|
|||
GstVideoImage * src, int xsrc, int ysrc, int w)
|
||||
{
|
||||
int destoffset = ydest * dest->ystride;
|
||||
int srcoffset = ydest * src->ystride;
|
||||
int srcoffset = ysrc * src->ystride;
|
||||
|
||||
memcpy (dest->yp + destoffset + xdest * 2, src->yp + srcoffset + xsrc * 2,
|
||||
w * 2);
|
||||
|
|
Loading…
Reference in a new issue