diff options
Diffstat (limited to 'video/out/vo.c')
-rw-r--r-- | video/out/vo.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/video/out/vo.c b/video/out/vo.c index 66c148135d..340817633d 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -450,16 +450,6 @@ int vo_reconfig(struct vo *vo, struct mp_image_params *params, int flags) vo->waiting_mpi = NULL; vo->redrawing = false; vo->hasframe = false; - if (vo->config_ok) { - // Legacy - struct mp_csp_details csp; - if (vo_control(vo, VOCTRL_GET_YUV_COLORSPACE, &csp) > 0) { - csp.levels_in = params->colorlevels; - csp.levels_out = params->outputlevels; - csp.format = params->colorspace; - vo_control(vo, VOCTRL_SET_YUV_COLORSPACE, &csp); - } - } return ret; } |