summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-09-09 15:38:39 +0200
committerwm4 <wm4@nowhere>2020-09-09 15:38:39 +0200
commit92e7f75becb3af4b3ea6e676f38cc2c627600eed (patch)
tree0dca5041585fbe8a97caf643fecf4ed949fde3d5 /video
parent9b9ce74afaafb29045fe3ab975eaaa9290eb3b7d (diff)
downloadmpv-92e7f75becb3af4b3ea6e676f38cc2c627600eed.tar.bz2
mpv-92e7f75becb3af4b3ea6e676f38cc2c627600eed.tar.xz
vo_vdpau: remove deprecated/inactive --vo-vdpau-deint option
I think this has been dead code for quite a while. It was deprecated anyway.
Diffstat (limited to 'video')
-rw-r--r--video/out/vo.h2
-rw-r--r--video/out/vo_vdpau.c5
2 files changed, 0 insertions, 7 deletions
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)},