changeset 25839:327e98d7d2be

Partially support vobsub subtitles from lavf demuxers (palette support missing)
author reimar
date Sat, 26 Jan 2008 21:17:08 +0000
parents f75a531569a2
children 1fb0ef174cb1
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c	Sat Jan 26 19:01:13 2008 +0000
+++ b/libmpdemux/demux_lavf.c	Sat Jan 26 21:17:08 2008 +0000
@@ -411,6 +411,8 @@
                 type = 't';
             else if(codec->codec_id == CODEC_ID_SSA)
                 type = 'a';
+            else if(codec->codec_id == CODEC_ID_DVD_SUBTITLE)
+                type = 'v';
             else
                 break;
             sh_sub = new_sh_sub_sid(demuxer, i, priv->sub_streams);