[FFmpeg-devel] [PATCH v2 3/3] avcodec/codec_desc: describe AV_CODEC_ID_MPEG2TS

Aman Karmani ffmpeg at tmm1.net
Wed Dec 23 00:47:47 EET 2020


From: Aman Karmani <aman at tmm1.net>

Signed-off-by: Aman Karmani <aman at tmm1.net>
---
 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,
-- 
2.29.2



More information about the ffmpeg-devel mailing list