mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-18 21:38:29 -04:00
libobs: Fix right edge of some videos
FFmpeg YUV to RGB conversions require extra destination padding. The Mantis issue might have been fixed when some YUV format conversions were moved to the GPU, but this may fix other YUV formats. Fixes https://obsproject.com/mantis/view.php?id=1177
This commit is contained in:
2
deps/media-playback/media-playback/media.c
vendored
2
deps/media-playback/media-playback/media.c
vendored
@@ -216,7 +216,7 @@ static bool mp_media_init_scaling(mp_media_t *m)
|
||||
|
||||
int ret = av_image_alloc(m->scale_pic, m->scale_linesizes,
|
||||
m->v.decoder->width, m->v.decoder->height,
|
||||
m->scale_format, 1);
|
||||
m->scale_format, 32);
|
||||
if (ret < 0) {
|
||||
blog(LOG_WARNING, "MP: Failed to create scale pic data");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user