[xiph-commits] r16059 - trunk/ffmpeg2theora/src

oggk at svn.xiph.org oggk at svn.xiph.org
Sat May 30 02:53:17 PDT 2009


Author: oggk
Date: 2009-05-30 02:53:17 -0700 (Sat, 30 May 2009)
New Revision: 16059

Modified:
   trunk/ffmpeg2theora/src/ffmpeg2theora.c
Log:
move info subtitles message inside #ifdef DEBUG, to reduce the spam



Modified: trunk/ffmpeg2theora/src/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/src/ffmpeg2theora.c	2009-05-29 18:07:42 UTC (rev 16058)
+++ trunk/ffmpeg2theora/src/ffmpeg2theora.c	2009-05-30 09:53:17 UTC (rev 16059)
@@ -805,17 +805,21 @@
     for (i=0; i<this->n_kate_streams; ++i) {
         ff2theora_kate_stream *ks=this->kate_streams+i;
         if (ks->stream_index >= 0) {
+#ifdef DEBUG
             printf("Muxing Kate stream %d from input stream %d\n",
                 i,ks->stream_index);
+#endif
             if (!this->disable_subtitles) {
               info.with_kate=1;
             }
         }
         else if (load_subtitles(ks,this->ignore_non_utf8)>0) {
+#ifdef DEBUG
             printf("Muxing Kate stream %d from %s as %s %s\n",
                 i,ks->filename,
                 ks->subtitles_language[0]?ks->subtitles_language:"<unknown language>",
                 ks->subtitles_category[0]?ks->subtitles_category:"SUB");
+#endif
         }
         else {
             if (i!=this->n_kate_streams) {



More information about the commits mailing list