Permalink
Browse files

Remove channel limitation in mythtranscode

Should fix #9414. I don't understand why this would have ever worked in the past. But if it did, it was just lucky. So we just push our luck further
  • Loading branch information...
1 parent 0a8ad2c commit b9f2adc105a3ece49d7e3a8ed1be63bdf2f45a5d @jyavenard jyavenard committed Feb 27, 2011
Showing with 2 additions and 5 deletions.
  1. +2 −5 mythtv/programs/mythtranscode/transcode.cpp
@@ -59,13 +59,10 @@ class AudioReencodeBuffer : public AudioOutput
virtual void Reconfigure(const AudioSettings &settings)
{
ClearError();
- bytes_per_frame = channels *
- AudioOutputSettings::SampleSize(settings.format);
channels = settings.channels;
-
- if ((uint)settings.channels > 2)
- Error(QString("Invalid channel count %1").arg(channels));
+ bytes_per_frame = channels *
+ AudioOutputSettings::SampleSize(settings.format);
}
// dsprate is in 100 * frames/second

2 comments on commit b9f2adc

I'm not sure if there are other changes associated with this fix but a recent build from rpmfusion which includes this patch still results in slow audio on my system.

Member

jyavenard replied Mar 15, 2011

That fix never intended to fix playback ; only being able to record

Please sign in to comment.