summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmpdemux/demux_lavf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/demux_lavf.c b/libmpdemux/demux_lavf.c
index cc8f509654..cbc1566e46 100644
--- a/libmpdemux/demux_lavf.c
+++ b/libmpdemux/demux_lavf.c
@@ -411,6 +411,8 @@ static void handle_stream(demuxer_t *demuxer, AVFormatContext *avfc, int i) {
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);