summaryrefslogtreecommitdiffstats
path: root/options.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-05-21 23:57:29 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-05-22 10:11:15 +0300
commitb3a688d45ff463592c73c425d68532f8f9b7880d (patch)
tree92b21c9ceb01b999053c9dd7fce5cf1662f495e1 /options.h
parentde5566f0b5420fbdbf0dc37f225be01cfd04cf66 (diff)
downloadmpv-b3a688d45ff463592c73c425d68532f8f9b7880d.tar.bz2
mpv-b3a688d45ff463592c73c425d68532f8f9b7880d.tar.xz
options: move -alang and -slang to option struct
The option field corresponding to -slang is now called "sub_lang" instead of the old misleading global name "dvdsub_lang". The code handling -slang in subreader.c looks rather broken; disable it instead of converting it to use the option field.
Diffstat (limited to 'options.h')
-rw-r--r--options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/options.h b/options.h
index 22bbff3915..adc9b11138 100644
--- a/options.h
+++ b/options.h
@@ -39,6 +39,8 @@ typedef struct MPOpts {
int audio_id;
int video_id;
int sub_id;
+ char *audio_lang;
+ char *sub_lang;
float playback_speed;
struct m_obj_settings *vf_settings;
int softzoom;