From e1d7433100ede761d971e1bd436958d1c348b2b1 Mon Sep 17 00:00:00 2001 From: Aman Karmani Date: Tue, 22 Dec 2020 14:28:38 -0800 Subject: [PATCH] avcodec/codec_desc: describe AV_CODEC_ID_MPEG2TS Signed-off-by: Aman Karmani --- libavcodec/codec_desc.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c index 404c460f8f..14757bf31b 100644 --- a/libavcodec/codec_desc.c +++ b/libavcodec/codec_desc.c @@ -3445,6 +3445,13 @@ static const AVCodecDescriptor codec_descriptors[] = { .long_name = NULL_IF_CONFIG_SMALL("binary data"), .mime_types= MT("application/octet-stream"), }, + { + .id = AV_CODEC_ID_MPEG2TS, + .type = AVMEDIA_TYPE_DATA, + .name = "mpegts", + .long_name = NULL_IF_CONFIG_SMALL("raw MPEG-TS stream"), + .mime_types= MT("application/MP2T"), + }, { .id = AV_CODEC_ID_WRAPPED_AVFRAME, .type = AVMEDIA_TYPE_VIDEO,