diff options
| -rw-r--r-- | HISTORY | 1 | ||||
| -rw-r--r-- | audio.c | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -11,6 +11,7 @@ VDR Plugin 'rpihddevice' Revision History - reworked setup parameter handling - implemented proper command queue for OVG-OSD - fixed: + - upmix mono audio channels to stereo when using PCM output on HDMI - skip non-video packets in StillPicture(), fixes artifacts in PES recordings - skip audio substream header for PES recordings with AC3 audio track - reworked audio decoding loop and set correct dstSize before resampling @@ -1151,6 +1151,9 @@ void cRpiAudioDecoder::SetCodec(cAudioCodec::eCodec codec, unsigned int &channel m_passthrough = true; outputFormat = codec; } + // if we decode locally, upmix mono channels to 2.0 + else if (channels == 1) + channels = 2; } else { |
