Mercurial > mplayer.hg
diff command.c @ 25656:00e4d59a0be4
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.
| author | eugeni |
|---|---|
| date | Fri, 11 Jan 2008 21:45:20 +0000 |
| parents | 8a673cfc4043 |
| children | 4eac26c41059 |
line wrap: on
line diff
--- a/command.c Fri Jan 11 21:45:17 2008 +0000 +++ b/command.c Fri Jan 11 21:45:20 2008 +0000 @@ -1483,7 +1483,7 @@ 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 {
