# HG changeset patch # User eugeni # Date 1166211306 0 # Node ID 3452c36a7fe2b32872440564c4a2f6ca0ef1f1f7 # Parent d64b282f8e2f7f08467b347bd5ada6d12b80c37d VobSub tracks cannot be handled by libass, do not mark them with 'a'. This fixes the bug with VobSub not being displayed with -ass. diff -r d64b282f8e2f -r 3452c36a7fe2 libmpdemux/demux_mkv.c --- a/libmpdemux/demux_mkv.c Fri Dec 15 18:55:17 2006 +0000 +++ b/libmpdemux/demux_mkv.c Fri Dec 15 19:35:06 2006 +0000 @@ -2376,7 +2376,8 @@ for (i = 0; i < mkv_d->num_tracks; i++) { track = mkv_d->tracks[i]; - if (track->type != MATROSKA_TRACK_SUBTITLE) + if (track->type != MATROSKA_TRACK_SUBTITLE || + track->subtitle_type == MATROSKA_SUBTYPE_VOBSUB) continue; track->sh_sub.type = 'a';