summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-11 01:54:03 +0200
committerwm4 <wm4@nowhere>2014-06-11 01:54:03 +0200
commitbe5725ebc4813f9d5c582fd0f30fe1ebc661e3e1 (patch)
tree18102331bfc7e9adc824b082721e6319bc5decca /options/options.h
parent654930aa47e10c07aa0399f515a8dd04d34efa3a (diff)
downloadmpv-be5725ebc4813f9d5c582fd0f30fe1ebc661e3e1.tar.bz2
mpv-be5725ebc4813f9d5c582fd0f30fe1ebc661e3e1.tar.xz
input: make option struct local
Similar to previous commits. This also renames --doubleclick-time to --input-doubleclick-time, and --key-fifo-size to --input-key-fifo-size. We could keep the old names, but these options are very obscure, and renaming them seems better for consistency.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/options/options.h b/options/options.h
index b87c64ed17..ec66b33c8b 100644
--- a/options/options.h
+++ b/options/options.h
@@ -263,24 +263,7 @@ typedef struct MPOpts {
struct vd_lavc_params *vd_lavc_params;
struct ad_lavc_params *ad_lavc_params;
- struct input_conf {
- char *config_file;
- int doubleclick_time;
- int key_fifo_size;
- int ar_delay;
- int ar_rate;
- char *js_dev;
- char *in_file;
- int use_joystick;
- int use_lirc;
- char *lirc_configfile;
- int use_lircc;
- int use_alt_gr;
- int use_appleremote;
- int use_media_keys;
- int default_bindings;
- int test;
- } input;
+ struct input_opts *input_opts;
struct encode_output_conf {
char *file;