Message ID | 1527317697-13621-1-git-send-email-hwrenx@126.com |
---|---|
State | New |
Headers | show |
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 3339e26..8b4f730 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -344,6 +344,9 @@ static int mpegts_write_pmt(AVFormatContext *s, MpegTSService *service) case AV_CODEC_ID_CAVS: stream_type = STREAM_TYPE_VIDEO_CAVS; break; + case AV_CODEC_ID_AVS2: + stream_type = STREAM_TYPE_VIDEO_AVS2; + break; case AV_CODEC_ID_DIRAC: stream_type = STREAM_TYPE_VIDEO_DIRAC; break;
Signed-off-by: hwren <hwrenx@126.com> --- libavformat/mpegtsenc.c | 3 +++ 1 file changed, 3 insertions(+)