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

Aman Karmani ffmpeg at tmm1.net
Mon Dec 28 02:12:52 EET 2020


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 at tmm1.net> wrote:

> 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