diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-11-16 15:10:35 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-11-16 15:10:35 +0200 |
commit | a1af75d83e9bae7dbc8597502d65551d90334ebe (patch) | |
tree | 37984fd639892b60353ba70db7898c6ce2acf56b | |
parent | 287b62163eed8811b6cd33716c0691d328947d48 (diff) |
mplayer.c: Fix compilation with dvdnav enabled
I had forgotten to check dvdnav-specific code after last merge of svn
changes.
-rw-r--r-- | mplayer.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1897,10 +1897,10 @@ static void mp_dvdnav_reset_stream (MPContext *ctx) { } audio_delay = 0.0f; - if (dvdsub_lang && dvdsub_id == dvdsub_lang_id) { + if (dvdsub_lang && opts->sub_id == dvdsub_lang_id) { dvdsub_lang_id = mp_dvdnav_sid_from_lang(ctx->stream, dvdsub_lang); - if (dvdsub_lang_id != dvdsub_id) { - dvdsub_id = dvdsub_lang_id; + if (dvdsub_lang_id != opts->sub_id) { + opts->sub_id = dvdsub_lang_id; select_subtitle(ctx); } } |