[MPlayer-cvslog] r21625 - trunk/libmpdemux/demux_mkv.c

eugeni subversion at mplayerhq.hu
Fri Dec 15 20:35:06 CET 2006


Author: eugeni
Date: Fri Dec 15 20:35:06 2006
New Revision: 21625

Modified:
   trunk/libmpdemux/demux_mkv.c

Log:
VobSub tracks cannot be handled by libass, do not mark them with 'a'.
This fixes the bug with VobSub not being displayed with -ass.


Modified: trunk/libmpdemux/demux_mkv.c
==============================================================================
--- trunk/libmpdemux/demux_mkv.c	(original)
+++ trunk/libmpdemux/demux_mkv.c	Fri Dec 15 20:35:06 2006
@@ -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';



More information about the MPlayer-cvslog mailing list