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

j at svn.xiph.org j at svn.xiph.org
Fri Feb 26 01:49:46 PST 2010


Author: j
Date: 2010-02-26 01:49:46 -0800 (Fri, 26 Feb 2010)
New Revision: 16936

Modified:
   trunk/ffmpeg2theora/src/ffmpeg2theora.c
Log:
actually add channel settings to padma presets

Modified: trunk/ffmpeg2theora/src/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/src/ffmpeg2theora.c	2010-02-24 07:47:31 UTC (rev 16935)
+++ trunk/ffmpeg2theora/src/ffmpeg2theora.c	2010-02-26 09:49:46 UTC (rev 16936)
@@ -2492,6 +2492,7 @@
                     convert->preset=V2V_PRESET_PADMA;
                     convert->video_quality = rint(6*6.3);
                     convert->audio_quality = 3.00;
+                    convert->channels = 2;
                     info.speed_level = 0;
                 }
                 else if (!strcmp(optarg,"padma-stream")) {
@@ -2501,6 +2502,7 @@
                     convert->video_quality = 0;
                     convert->audio_quality = -1.00;
                     convert->sample_rate=44100;
+                    convert->channels = 1;
                     convert->keyint = 16;
                     info.speed_level = 0;
                 }



More information about the commits mailing list