diff --git a/ChangeLog b/ChangeLog index 4dc65abc14..e4c3652137 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-01-06 Benjamin Otte + + * gst/games/gstvideoimage.c: (copy_hline_YUY2): + fix stupid typo that borked copying on YUY2 + 2005-01-06 Benjamin Otte * gst/games/gstpuzzle.c: (draw_puzzle): diff --git a/gst/games/gstvideoimage.c b/gst/games/gstvideoimage.c index 7e3436f01e..c18843c8e9 100644 --- a/gst/games/gstvideoimage.c +++ b/gst/games/gstvideoimage.c @@ -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);