mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
dvbsuboverlay: fix rendering artefacts
Initialize source x position for odd height special case.
This commit is contained in:
parent
b191fb2b05
commit
b73ae45460
1 changed files with 1 additions and 0 deletions
|
@ -711,6 +711,7 @@ blit_i420 (GstDVBSubOverlay * overlay, DVBSubtitles * subs, GstBuffer * buffer)
|
|||
|
||||
/* Odd height */
|
||||
if (y < dh) {
|
||||
sx = 0;
|
||||
for (x = 0; x < dw - 1; x += 2) {
|
||||
color =
|
||||
sub_region->pict.palette[src[(sy >> 16) * src_stride + (sx >> 16)]];
|
||||
|
|
Loading…
Reference in a new issue