[xiph-commits] r15633 - in trunk/ffmpeg2theora: . src

j at svn.xiph.org j at svn.xiph.org
Wed Jan 28 13:20:18 PST 2009


Author: j
Date: 2009-01-28 13:20:17 -0800 (Wed, 28 Jan 2009)
New Revision: 15633

Modified:
   trunk/ffmpeg2theora/get_libkate.sh
   trunk/ffmpeg2theora/src/ffmpeg2theora.c
Log:
udpate to latest libkate, use SUB for subtitles_category

Modified: trunk/ffmpeg2theora/get_libkate.sh
===================================================================
--- trunk/ffmpeg2theora/get_libkate.sh	2009-01-28 17:19:12 UTC (rev 15632)
+++ trunk/ffmpeg2theora/get_libkate.sh	2009-01-28 21:20:17 UTC (rev 15633)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-version=0.2.5
+version=0.3.0
 baseurl="http://libkate.googlecode.com/files/libkate-$version.tar.gz"
 
 which wget >& /dev/null

Modified: trunk/ffmpeg2theora/src/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/src/ffmpeg2theora.c	2009-01-28 17:19:12 UTC (rev 15632)
+++ trunk/ffmpeg2theora/src/ffmpeg2theora.c	2009-01-28 21:20:17 UTC (rev 15633)
@@ -764,7 +764,7 @@
                   fprintf(stderr, "WARNING - Subtitles language not set for input file %d\n",i);
                 }
                 kate_info_set_language(ki, ks->subtitles_language);
-                kate_info_set_category(ki, ks->subtitles_category[0]?ks->subtitles_category:"subtitles");
+                kate_info_set_category(ki, ks->subtitles_category[0]?ks->subtitles_category:"SUB");
                 if(this->force_input_fps.num > 0) {
                     ki->gps_numerator = this->force_input_fps.num;    /* fps= numerator/denominator */
                     ki->gps_denominator = this->force_input_fps.den;
@@ -1821,7 +1821,7 @@
           printf("Muxing Kate stream %d from %s as %s %s\n",
               n,ks->filename,
               ks->subtitles_language[0]?ks->subtitles_language:"<unknown language>",
-              ks->subtitles_category[0]?ks->subtitles_category:"subtitles");
+              ks->subtitles_category[0]?ks->subtitles_category:"SUB");
         }
         else {
           if (n!=convert->n_kate_streams) {



More information about the commits mailing list