mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
ffmpegcolorspace: Handle YVU9/YUV9 conversion with odd widths
A green border could be visible when converting to Y444 or RGB, because the last chroma samples weren't copied correctly
This commit is contained in:
parent
7ed2531b27
commit
8939bc6c82
1 changed files with 4 additions and 0 deletions
|
@ -1867,6 +1867,10 @@ grow41_line (uint8_t * dst, const uint8_t * src, int width)
|
|||
s1++;
|
||||
d += 4;
|
||||
}
|
||||
for (; w >= 0; w--) {
|
||||
d[0] = s1[0];
|
||||
d++;
|
||||
}
|
||||
}
|
||||
|
||||
/* 1x1 -> 2x1 */
|
||||
|
|
Loading…
Reference in a new issue