mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/mpegtsenc: don't print warning for DVB text streams
They can be demuxed by ffmpeg.
This commit is contained in:
parent
2e38c63630
commit
68d9c0be89
|
@ -349,6 +349,10 @@ static int get_dvb_stream_type(AVFormatContext *s, AVStream *st)
|
||||||
case AV_CODEC_ID_TIMED_ID3:
|
case AV_CODEC_ID_TIMED_ID3:
|
||||||
stream_type = STREAM_TYPE_METADATA;
|
stream_type = STREAM_TYPE_METADATA;
|
||||||
break;
|
break;
|
||||||
|
case AV_CODEC_ID_DVB_SUBTITLE:
|
||||||
|
case AV_CODEC_ID_DVB_TELETEXT:
|
||||||
|
stream_type = STREAM_TYPE_PRIVATE_DATA;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
av_log(s, AV_LOG_WARNING, "Stream %d, codec %s, is muxed as a private data stream "
|
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));
|
"and may not be recognized upon reading.\n", st->index, avcodec_get_name(st->codecpar->codec_id));
|
||||||
|
|
Loading…
Reference in New Issue