diff mbox series

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

Message ID 20201222224747.12690-3-ffmpeg@tmm1.net
State Accepted
Headers show
Series [FFmpeg-devel,v2,1/3] avformat/rtsp: add support for satip://
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Aman Karmani Dec. 22, 2020, 10:47 p.m. UTC
From: Aman Karmani <aman@tmm1.net>

Signed-off-by: Aman Karmani <aman@tmm1.net>
---
 libavcodec/codec_desc.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Aman Karmani Dec. 28, 2020, 12:12 a.m. UTC | #1
Going to merge this patchset in a few days if no one objects.

On Tue, Dec 22, 2020 at 2:47 PM Aman Karmani <ffmpeg@tmm1.net> wrote:

> From: Aman Karmani <aman@tmm1.net>
>
> Signed-off-by: Aman Karmani <aman@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
>
>
diff mbox series

Patch

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,