[FFmpeg-cvslog] avformat/utils: add dvbsub to set_codec_from_probe_data()

Michael Niedermayer git at videolan.org
Mon Jan 5 16:03:38 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jan  4 23:21:54 2015 +0100| [ce1e10aa24ccf9682ede2f08cffbb3e96ebbd299] | committer: Michael Niedermayer

avformat/utils: add dvbsub to set_codec_from_probe_data()

Fixes part of ticket 4221

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ce1e10aa24ccf9682ede2f08cffbb3e96ebbd299
---

 libavformat/utils.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 752270d..63a8616 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -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 },



More information about the ffmpeg-cvslog mailing list