summaryrefslogtreecommitdiff
path: root/libavformat/mpegtsenc.c
diff options
context:
space:
mode:
authorGyan Doshi <ffmpeg@gyani.pro>2020-04-20 22:44:59 +0530
committerGyan Doshi <ffmpeg@gyani.pro>2020-04-22 16:07:04 +0530
commit68d9c0be898d76132c569a84c24eca2d9270eb13 (patch)
tree40ed16a68f7bf2e862124db85fea08f59163d6c0 /libavformat/mpegtsenc.c
parent2e38c63630c29ee7024edc4f01d888802fb7b641 (diff)
downloadffmpeg-68d9c0be898d76132c569a84c24eca2d9270eb13.tar.gz
avformat/mpegtsenc: don't print warning for DVB text streams
They can be demuxed by ffmpeg.
Diffstat (limited to 'libavformat/mpegtsenc.c')
-rw-r--r--libavformat/mpegtsenc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index ce90762fe4..4fe3d84c59 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -349,6 +349,10 @@ static int get_dvb_stream_type(AVFormatContext *s, AVStream *st)
case AV_CODEC_ID_TIMED_ID3:
stream_type = STREAM_TYPE_METADATA;
break;
+ case AV_CODEC_ID_DVB_SUBTITLE:
+ case AV_CODEC_ID_DVB_TELETEXT:
+ stream_type = STREAM_TYPE_PRIVATE_DATA;
+ break;
default:
av_log(s, AV_LOG_WARNING, "Stream %d, codec %s, is muxed as a private data stream "
"and may not be recognized upon reading.\n", st->index, avcodec_get_name(st->codecpar->codec_id));