summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-11-29 06:11:02 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-11-29 06:11:02 +0200
commited333bb31dd62030f62c534277f144e7da318194 (patch)
tree34e67542a3f9e32f399f231b11c7d2c09da722c2 /mplayer.c
parent5017d713b1765048cf97d9ef73518ece826e9306 (diff)
parentb2adf9d98d8f59162ffcfdcd254e8626aacbec18 (diff)
downloadmpv-ed333bb31dd62030f62c534277f144e7da318194.tar.bz2
mpv-ed333bb31dd62030f62c534277f144e7da318194.tar.xz
Merge svn changes up to r29971
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index a3152c9523..79916914e6 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1897,6 +1897,7 @@ static void mp_dvdnav_reset_stream (MPContext *ctx) {
}
audio_delay = 0.0f;
+ ctx->global_sub_size = ctx->global_sub_indices[SUB_SOURCE_DEMUX] + mp_dvdnav_number_of_subs(ctx->stream);
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 != opts->sub_id) {