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:
jpark37 2020-06-11 10:26:14 -07:00
parent 89532e59fc
commit 218a3d36a3

View file

@ -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;