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

Philip Langdale git at videolan.org
Wed Aug 29 18:18:22 CEST 2012


ffmpeg | branch: master | Philip Langdale <philipl at overt.org> | Tue Aug 28 21:02:25 2012 -0700| [7816c7e7728d5094d52c34652a504c38ebfc4628] | committer: Philip Langdale

Add missing codec descriptor for timingless subrip.

Signed-off-by: Philip Langdale <philipl at overt.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7816c7e7728d5094d52c34652a504c38ebfc4628
---

 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 dd4870d..0385f9c 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,



More information about the ffmpeg-cvslog mailing list