From b3a688d45ff463592c73c425d68532f8f9b7880d Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Fri, 21 May 2010 23:57:29 +0300 Subject: 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. --- options.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'options.h') 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; -- cgit v1.2.3