summaryrefslogtreecommitdiff
path: root/libavformat/mpegtsenc.c
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2021-08-24 20:22:25 +0800
committerLimin Wang <lance.lmwang@gmail.com>2021-10-20 22:47:17 +0800
commit44fe572371f9f00786069b3d4698611e9a34d7ee (patch)
tree358a973a6224d40bbb167b567153b64091ebb469 /libavformat/mpegtsenc.c
parent5779bd5b2a9281b443a41aebad1be0b1def965ef (diff)
downloadffmpeg-44fe572371f9f00786069b3d4698611e9a34d7ee.tar.gz
avformat/mpegtsenc: add AVSV format_identifier for AVS standard
Listing of Registered Identifiers: https://smpte-ra.org/registered-mpeg-ts-ids Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavformat/mpegtsenc.c')
-rw-r--r--libavformat/mpegtsenc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index 26fb1f1841..184bb52f75 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -789,6 +789,9 @@ static int mpegts_write_pmt(AVFormatContext *s, MpegTSService *service)
put_registration_descriptor(&q, MKTAG('V', 'C', '-', '1'));
} else if (stream_type == STREAM_TYPE_VIDEO_HEVC && s->strict_std_compliance <= FF_COMPLIANCE_NORMAL) {
put_registration_descriptor(&q, MKTAG('H', 'E', 'V', 'C'));
+ } else if (stream_type == STREAM_TYPE_VIDEO_CAVS || stream_type == STREAM_TYPE_VIDEO_AVS2 ||
+ stream_type == STREAM_TYPE_VIDEO_AVS3) {
+ put_registration_descriptor(&q, MKTAG('A', 'V', 'S', 'V'));
}
break;
case AVMEDIA_TYPE_DATA: