mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-15 07:44:10 +00:00
deps/media-playback: Use SWS_POINT instead of SWS_FAST_BILINEAR
There is no resize happening in this code, so bilinear doesn't make sense. Fixes artifacts caused by SWS_FAST_BILINEAR approximation.
This commit is contained in:
parent
89532e59fc
commit
218a3d36a3
2
deps/media-playback/media-playback/media.c
vendored
2
deps/media-playback/media-playback/media.c
vendored
|
@ -205,7 +205,7 @@ static bool mp_media_init_scaling(mp_media_t *m)
|
|||
m->v.decoder->pix_fmt,
|
||||
m->v.decoder->width,
|
||||
m->v.decoder->height, m->scale_format,
|
||||
SWS_FAST_BILINEAR, NULL, NULL, NULL);
|
||||
SWS_POINT, NULL, NULL, NULL);
|
||||
if (!m->swscale) {
|
||||
blog(LOG_WARNING, "MP: Failed to initialize scaler");
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue