mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-15 07:44:10 +00: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:
parent
4c2e430c0c
commit
2123b306f3
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;
|
||||
|
|
Loading…
Reference in a new issue