dvbsuboverlay: fix luma stride for scaled subtitles (display width != width)

This commit is contained in:
Janne Grunau 2010-12-10 12:27:54 +01:00 committed by Sebastian Dröge
parent a7baa891a9
commit 2f6f78caa3

View file

@ -667,8 +667,8 @@ blit_i420 (GstDVBSubOverlay * overlay, DVBSubtitles * subs, GstBuffer * buffer)
sy += 2 * ystep;
dst_y += y_stride + (y_stride - w);
dst_y2 += y_stride + (y_stride - w);
dst_y += y_stride + (y_stride - dw);
dst_y2 += y_stride + (y_stride - dw);
dst_u += u_stride - w2;
dst_v += v_stride - w2;
}