Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit a2a57dfc04e8370ec6d7231e12a531570e96e075 1 parent 9d78d28
@jyavenard jyavenard authored
Showing with 2 additions and 5 deletions.
  1. +2 −5 mythtv/programs/mythtranscode/transcode.cpp
View
7 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 * samples/second

1 comment on commit a2a57df

@FabriceMG

I have make one test and i'ts work now
I'll do more testing

Please sign in to comment.
Something went wrong with that request. Please try again.