From 257534ed187ac42a40531dba617b643b113d8a04 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 20 Sep 2019 00:45:17 +0200 Subject: 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. --- video/out/vo.h | 15 +-------------- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3