diff options
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | setup.c | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -6,6 +6,7 @@ VDR Plugin 'rpihddevice' Revision History - make use of advanced deinterlacer configurable - add debug option to log number of executed OpenVG commands and flushes - fixed: + - always resample audio with less than 2 and more than 6 channels - fixed compilation with GCC-6 - implement proper handling of display and pixel aspect ratios - fixed vertical text position @@ -235,6 +235,9 @@ bool cRpiSetup::IsAudioFormatSupported(cAudioCodec::eCodec codec, if (codec == cAudioCodec::eMPG || codec == cAudioCodec::eAAC) return false; + if (channels < 2 || channels > 6) + return false; + switch (GetAudioFormat()) { case cAudioFormat::ePassThrough: |