From 7816c7e7728d5094d52c34652a504c38ebfc4628 Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Tue, 28 Aug 2012 21:02:25 -0700 Subject: [PATCH] Add missing codec descriptor for timingless subrip. Signed-off-by: Philip Langdale --- libavcodec/codec_desc.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c index dd4870dea7..0385f9c4b4 100644 --- a/libavcodec/codec_desc.c +++ b/libavcodec/codec_desc.c @@ -2052,7 +2052,13 @@ static const AVCodecDescriptor codec_descriptors[] = { .id = AV_CODEC_ID_SRT, .type = AVMEDIA_TYPE_SUBTITLE, .name = "srt", - .long_name = NULL_IF_CONFIG_SMALL("SubRip Text"), + .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle with embedded timing"), + }, + { + .id = AV_CODEC_ID_SUBRIP, + .type = AVMEDIA_TYPE_SUBTITLE, + .name = "subrip", + .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"), }, { .id = AV_CODEC_ID_MICRODVD,