1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 14:40:43 +00:00

vo_gpu_next: implement --cscale

Fixes #9451
This commit is contained in:
Niklas Haas 2022-06-24 16:11:17 +02:00
parent 8da6b355f8
commit 3a2838c88d

View File

@ -1608,6 +1608,9 @@ static void update_render_options(struct vo *vo)
// Map scaler options as best we can
p->params.upscaler = map_scaler(p, SCALER_SCALE);
p->params.downscaler = map_scaler(p, SCALER_DSCALE);
#if PL_API_VER >= 207
p->params.plane_upscaler = map_scaler(p, SCALER_CSCALE);
#endif
p->frame_mixer = opts->interpolation ? map_scaler(p, SCALER_TSCALE) : NULL;
// Request as many frames as required from the decoder