mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
dvbsuboverlay: fix luma stride for scaled subtitles (display width != width)
This commit is contained in:
parent
a7baa891a9
commit
2f6f78caa3
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue