diff options
author | wm4 <wm4@nowhere> | 2019-09-20 00:45:17 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-20 00:45:17 +0200 |
commit | 257534ed187ac42a40531dba617b643b113d8a04 (patch) | |
tree | 263693002118323d28d798cfaa4746beff78104d /video/out | |
parent | 8e5cd62dca8c9d8965f0d1d37836dff16b6fa03d (diff) | |
download | mpv-257534ed187ac42a40531dba617b643b113d8a04.tar.bz2 mpv-257534ed187ac42a40531dba617b643b113d8a04.tar.xz |
vo: remove unused equalizer control remains
Equalizer control was redone in 03cf150ff3516789d5812 (over 2 years
ago). Ever since, the equalizer control structs and the GET voctrl have
been unused. Only the SET voctrl is still used as notification mechanism
(actually a bad hack to avoid some further option change handling
complexity).
Remove the unused parts.
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/vo.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/video/out/vo.h b/video/out/vo.h index 3514b6df5c..57a2f39b8f 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -65,8 +65,7 @@ enum mp_voctrl { VOCTRL_RESUME, VOCTRL_SET_PANSCAN, - VOCTRL_SET_EQUALIZER, // struct voctrl_set_equalizer_args* - VOCTRL_GET_EQUALIZER, // struct voctrl_get_equalizer_args* + VOCTRL_SET_EQUALIZER, /* private to vo_gpu */ VOCTRL_LOAD_HWDEC_API, @@ -129,18 +128,6 @@ enum mp_voctrl { VOCTRL_EXTERNAL_RESIZE, }; -// VOCTRL_SET_EQUALIZER -struct voctrl_set_equalizer_args { - const char *name; - int value; -}; - -// VOCTRL_GET_EQUALIZER -struct voctrl_get_equalizer_args { - const char *name; - int *valueptr; -}; - // VOCTRL_GET_WIN_STATE #define VO_WIN_STATE_MINIMIZED 1 |