diff options
author | wm4 <wm4@nowhere> | 2013-03-08 02:08:02 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-03-08 02:12:53 +0100 |
commit | bc20f2cb00234ce436be2f939cb62dbbde5e8dd2 (patch) | |
tree | c4c55ae65b8f468578de5eb7253c9c2cd6c44c5c /core/mplayer.h | |
parent | 14427ae2ee1923eeeb5189f6a0a3c9ebf391eff6 (diff) | |
download | mpv-bc20f2cb00234ce436be2f939cb62dbbde5e8dd2.tar.bz2 mpv-bc20f2cb00234ce436be2f939cb62dbbde5e8dd2.tar.xz |
core: remove a number of global variables
Move them into per-instance structs. This should get rid of all global
variables in mplayer.c (not counting those referenced by cfg-mplayer.h).
In core/input/ar.c, just remove checking the slave_mode variable. I'm
not sure what this code was supposed to achieve, but slave mode is
broken, slave mode is actually infeasible on OSX (ar.c is completely OSX
specific), and the correct way of doing this would be to disable this
input device per command line switch.
Diffstat (limited to 'core/mplayer.h')
-rw-r--r-- | core/mplayer.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/core/mplayer.h b/core/mplayer.h index 0471a3137d..b96f814b68 100644 --- a/core/mplayer.h +++ b/core/mplayer.h @@ -23,14 +23,6 @@ #include "core/mp_msg.h" -extern char ** audio_fm_list; -extern char ** video_fm_list; -extern char ** video_driver_list; -extern char ** audio_driver_list; -extern float audio_delay; - -extern double force_fps; - struct MPContext; struct MPOpts; struct subtitle; |