aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/ffmpeg/ffprobe-utils.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-10 16:05:38 +0200
committerChocobozzz <me@florianbigard.com>2022-08-10 16:05:38 +0200
commit4fd6dcfb4432b71549fb2d4c3cc3b92f34c29665 (patch)
tree4544b2cc4a80ca058669e460b560a3b9924ad8ad /server/helpers/ffmpeg/ffprobe-utils.ts
parent0cfc8c4fe4f44ef98b7be3683dae76da8236e641 (diff)
downloadPeerTube-4fd6dcfb4432b71549fb2d4c3cc3b92f34c29665.tar.gz
PeerTube-4fd6dcfb4432b71549fb2d4c3cc3b92f34c29665.tar.zst
PeerTube-4fd6dcfb4432b71549fb2d4c3cc3b92f34c29665.zip
Fix transcoding of quad audio channels
Diffstat (limited to 'server/helpers/ffmpeg/ffprobe-utils.ts')
-rw-r--r--server/helpers/ffmpeg/ffprobe-utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/ffmpeg/ffprobe-utils.ts b/server/helpers/ffmpeg/ffprobe-utils.ts
index c45f9ec99..9746c2046 100644
--- a/server/helpers/ffmpeg/ffprobe-utils.ts
+++ b/server/helpers/ffmpeg/ffprobe-utils.ts
@@ -163,7 +163,7 @@ async function canDoQuickAudioTranscode (path: string, probe?: FfprobeData): Pro
163 163
164 const channelLayout = parsedAudio.audioStream['channel_layout'] 164 const channelLayout = parsedAudio.audioStream['channel_layout']
165 // Causes playback issues with Chrome 165 // Causes playback issues with Chrome
166 if (!channelLayout || channelLayout === 'unknown') return false 166 if (!channelLayout || channelLayout === 'unknown' || channelLayout === 'quad') return false
167 167
168 return true 168 return true
169} 169}