From 92e7f75becb3af4b3ea6e676f38cc2c627600eed Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 9 Sep 2020 15:38:39 +0200 Subject: vo_vdpau: remove deprecated/inactive --vo-vdpau-deint option I think this has been dead code for quite a while. It was deprecated anyway. --- video/out/vo.h | 2 -- video/out/vo_vdpau.c | 5 ----- 2 files changed, 7 deletions(-) (limited to 'video') diff --git a/video/out/vo.h b/video/out/vo.h index 5deb99a6f1..7efec53ba0 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -121,8 +121,6 @@ enum mp_voctrl { VOCTRL_GET_DISPLAY_FPS, // double* VOCTRL_GET_HIDPI_SCALE, // double* - VOCTRL_GET_PREF_DEINT, // int* - /* private to vo_gpu */ VOCTRL_EXTERNAL_RESIZE, }; diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c index b5b936243f..89dde588b6 100644 --- a/video/out/vo_vdpau.c +++ b/video/out/vo_vdpau.c @@ -88,7 +88,6 @@ struct vdpctx { int force_yuv; struct mp_vdpau_mixer *video_mixer; - int deint; int pullup; float denoise; float sharpen; @@ -1080,9 +1079,6 @@ static int control(struct vo *vo, uint32_t request, void *data) return false; *(struct mp_image **)data = get_window_screenshot(vo); return true; - case VOCTRL_GET_PREF_DEINT: - *(int *)data = vc->deint; - return true; } int events = 0; @@ -1115,7 +1111,6 @@ const struct vo_driver video_out_vdpau = { .uninit = uninit, .priv_size = sizeof(struct vdpctx), .options = (const struct m_option []){ - {"deint", OPT_INT(deint), M_RANGE(-4, 4)}, {"chroma-deint", OPT_FLAG(chroma_deint), OPTDEF_INT(1)}, {"pullup", OPT_FLAG(pullup)}, {"denoise", OPT_FLOAT(denoise), M_RANGE(0, 1)}, -- cgit v1.2.3