[FFmpeg-devel] [PATCH] Add missing codec descriptor for timingless subrip.

Paul B Mahol onemda at gmail.com
Wed Aug 29 09:59:30 CEST 2012


On 8/29/12, Philip Langdale <philipl at overt.org> wrote:
> Signed-off-by: Philip Langdale <philipl at overt.org>
> ---
>  libavcodec/codec_desc.c |    6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
> index dd4870d..25d9d8f 100644
> --- a/libavcodec/codec_desc.c
> +++ b/libavcodec/codec_desc.c
> @@ -2052,6 +2052,12 @@ static const AVCodecDescriptor codec_descriptors[] =
> {
>          .id        = AV_CODEC_ID_SRT,
>          .type      = AVMEDIA_TYPE_SUBTITLE,
>          .name      = "srt",
> +        .long_name = NULL_IF_CONFIG_SMALL("SubRip Text with embedded
> timing"),
> +    },
> +    {
> +        .id        = AV_CODEC_ID_SUBRIP,
> +        .type      = AVMEDIA_TYPE_SUBTITLE,
> +        .name      = "subrip",
>          .long_name = NULL_IF_CONFIG_SMALL("SubRip Text"),
>      },
>      {

Why it is different from already available ones in encoder/decoder?


More information about the ffmpeg-devel mailing list