1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Fix transcoding of quad audio channels

This commit is contained in:
Chocobozzz 2022-08-10 16:05:38 +02:00
parent 0cfc8c4fe4
commit 4fd6dcfb44
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 6 additions and 3 deletions

View file

@ -163,7 +163,7 @@ async function canDoQuickAudioTranscode (path: string, probe?: FfprobeData): Pro
const channelLayout = parsedAudio.audioStream['channel_layout']
// Causes playback issues with Chrome
if (!channelLayout || channelLayout === 'unknown') return false
if (!channelLayout || channelLayout === 'unknown' || channelLayout === 'quad') return false
return true
}