mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08:00
vo: remove unused equalizer control remains
Equalizer control was redone in 03cf150ff3 (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.
This commit is contained in:
+1
-14
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user