diff options
author | 2013-03-08 02:08:02 +0100 | |
---|---|---|
committer | 2013-03-08 02:12:53 +0100 | |
commit | bc20f2cb00234ce436be2f939cb62dbbde5e8dd2 (patch) | |
tree | c4c55ae65b8f468578de5eb7253c9c2cd6c44c5c /core/defaultopts.c | |
parent | 14427ae2ee1923eeeb5189f6a0a3c9ebf391eff6 (diff) |
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/defaultopts.c')
-rw-r--r-- | core/defaultopts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/defaultopts.c b/core/defaultopts.c index ca01ba1df3..9f544d6d55 100644 --- a/core/defaultopts.c +++ b/core/defaultopts.c @@ -57,6 +57,7 @@ void set_default_mplayer_options(struct MPOpts *opts) .term_osd = 2, .consolecontrols = 1, .doubleclick_time = 300, + .play_frames = -1, .keep_open = 0, .audio_id = -1, .video_id = -1, |