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

Philip Langdale philipl at overt.org
Wed Aug 29 06:03:06 CEST 2012


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"),
     },
     {
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list