gst/videobox/gstvideobox.c: Render right border in the correct location.

Original commit message from CVS:
* gst/videobox/gstvideobox.c: (gst_video_box_ayuv_i420):
Render right border in the correct location.
This commit is contained in:
Michael Smith 2007-08-08 17:47:05 +00:00
parent cfc23b6130
commit cf57faff63
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-08-08 Michael Smith <msmith@fluendo.com>
* gst/videobox/gstvideobox.c: (gst_video_box_ayuv_i420):
Render right border in the correct location.
2007-08-08 Wim Taymans <wim.taymans@gmail.com> 2007-08-08 Wim Taymans <wim.taymans@gmail.com>
Patch by: Olivier Crete <tester at tester dot ca> Patch by: Olivier Crete <tester at tester dot ca>

View file

@ -823,7 +823,6 @@ gst_video_box_ayuv_i420 (GstVideoBox * video_box, guint8 * src, guint8 * dest)
/* right border */ /* right border */
if (br < 0) { if (br < 0) {
a = 0;
oil_splat_u8_ns (Ydest, (guint8 *) & empty_px_values[0], -br); oil_splat_u8_ns (Ydest, (guint8 *) & empty_px_values[0], -br);
for (j = 0; j < -br; j++) { for (j = 0; j < -br; j++) {
Utemp[UVfloor (a + crop_w + j)] = Utemp[UVfloor (a + crop_w + j)] =