diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2021-08-24 18:39:13 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2021-10-20 22:40:13 +0800 |
commit | 5779bd5b2a9281b443a41aebad1be0b1def965ef (patch) | |
tree | 8232c548edd7c9d0324ef9c12139746d60a4db8d /libavformat/mpegtsenc.c | |
parent | 960efa94ff817d3c0761ce7414ddd632cfe7ed74 (diff) | |
download | ffmpeg-5779bd5b2a9281b443a41aebad1be0b1def965ef.tar.gz |
avformat/mpegts: add support for stream_type 0xd4, which is AVS3
GB/T 17975.1
Information technology-Generic coding of moving pictures and associated audio
information-Part 1:Systems
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavformat/mpegtsenc.c')
-rw-r--r-- | libavformat/mpegtsenc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index f3b7914175..26fb1f1841 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -369,6 +369,9 @@ static int get_dvb_stream_type(AVFormatContext *s, AVStream *st) case AV_CODEC_ID_AVS2: stream_type = STREAM_TYPE_VIDEO_AVS2; break; + case AV_CODEC_ID_AVS3: + stream_type = STREAM_TYPE_VIDEO_AVS3; + break; case AV_CODEC_ID_DIRAC: stream_type = STREAM_TYPE_VIDEO_DIRAC; break; |