[xiph-commits] r15822 - trunk/ffmpeg2theora/src
j at svn.xiph.org
j at svn.xiph.org
Sat Mar 21 12:35:33 PDT 2009
Author: j
Date: 2009-03-21 12:35:32 -0700 (Sat, 21 Mar 2009)
New Revision: 15822
Modified:
trunk/ffmpeg2theora/src/ffmpeg2theora.c
Log:
do not downmix to 2 channels by default
Modified: trunk/ffmpeg2theora/src/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/src/ffmpeg2theora.c 2009-03-21 09:48:58 UTC (rev 15821)
+++ trunk/ffmpeg2theora/src/ffmpeg2theora.c 2009-03-21 19:35:32 UTC (rev 15822)
@@ -620,10 +620,7 @@
aenc = this->context->streams[this->audio_index]->codec;
acodec = avcodec_find_decoder (aenc->codec_id);
if (this->channels < 1) {
- if (aenc->channels > 2)
- this->channels = 2;
- else
- this->channels = aenc->channels;
+ this->channels = aenc->channels;
}
if(this->sample_rate==-1) {
this->sample_rate = aenc->sample_rate;
More information about the commits
mailing list