changeset 25881:c6f535c5f65b

Make mov subtitles work with -ass
author reimar
date Tue, 29 Jan 2008 14:30:53 +0000
parents 4df11ac927fc
children 2ad528dd42a0
files libmpdemux/demuxer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Mon Jan 28 22:09:21 2008 +0000
+++ b/libmpdemux/demuxer.c	Tue Jan 29 14:30:53 2008 +0000
@@ -844,7 +844,7 @@
        sh->ass_track = ass_new_track(ass_library);
        if (sh->ass_track && sh->extradata)
          ass_process_codec_private(sh->ass_track, sh->extradata, sh->extradata_len);
-     } else if (sh && sh->type == 't')
+     } else if (sh && sh->type != 'v')
        sh->ass_track = ass_default_track(ass_library);
    }
  }