From ce1e10aa24ccf9682ede2f08cffbb3e96ebbd299 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 4 Jan 2015 23:21:54 +0100 Subject: [PATCH] avformat/utils: add dvbsub to set_codec_from_probe_data() Fixes part of ticket 4221 Signed-off-by: Michael Niedermayer --- libavformat/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index 752270d5f5..63a8616cbf 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 },