summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-11 21:45:20 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-11 21:45:20 +0000
commit0d36212f39d5be3963ffd22a950612e368e1cf54 (patch)
tree1f4b529b15c78484d831275592aaa1ddc2a2742c /command.c
parentbdb6a07d2a712c752cc7f04dd0afd5950e4607f7 (diff)
downloadmpv-0d36212f39d5be3963ffd22a950612e368e1cf54.tar.bz2
mpv-0d36212f39d5be3963ffd22a950612e368e1cf54.tar.xz
Remove global_ass_track. Instead create an ass_track for each 't' track.
Global_ass_track obviously can not work when there is more than one 't tracks, their lines will be mixed up. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25684 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index 8f84be2c65..892eb6740d 100644
--- a/command.c
+++ b/command.c
@@ -1483,7 +1483,7 @@ static int mp_property_sub(m_option_t * prop, int action, void *arg,
if (sh->type == 'v')
init_vo_spudec();
#ifdef USE_ASS
- else if (ass_enabled && sh->type == 'a')
+ else if (ass_enabled && (sh->type == 'a' || sh->type == 't'))
ass_track = sh->ass_track;
#endif
} else {