avformat/utils: add dvbsub to set_codec_from_probe_data()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 4 Jan 2015 22:21:54 +0000 (23:21 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 5 Jan 2015 00:45:49 +0000 (01:45 +0100)
Fixes part of ticket 4221

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c

index 752270d..63a8616 100644 (file)
@@ -273,6 +273,7 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st,
         { "aac",       AV_CODEC_ID_AAC,        AVMEDIA_TYPE_AUDIO },
         { "ac3",       AV_CODEC_ID_AC3,        AVMEDIA_TYPE_AUDIO },
         { "dts",       AV_CODEC_ID_DTS,        AVMEDIA_TYPE_AUDIO },
+        { "dvbsub",    AV_CODEC_ID_DVB_SUBTITLE,AVMEDIA_TYPE_SUBTITLE },
         { "eac3",      AV_CODEC_ID_EAC3,       AVMEDIA_TYPE_AUDIO },
         { "h264",      AV_CODEC_ID_H264,       AVMEDIA_TYPE_VIDEO },
         { "hevc",      AV_CODEC_ID_HEVC,       AVMEDIA_TYPE_VIDEO },