diff options
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/ffprobe-utils.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/helpers/ffprobe-utils.ts b/server/helpers/ffprobe-utils.ts index fefed25ae..d2476606e 100644 --- a/server/helpers/ffprobe-utils.ts +++ b/server/helpers/ffprobe-utils.ts | |||
@@ -262,6 +262,10 @@ async function canDoQuickAudioTranscode (path: string, probe?: ffmpeg.FfprobeDat | |||
262 | const maxAudioBitrate = getMaxAudioBitrate('aac', audioBitrate) | 262 | const maxAudioBitrate = getMaxAudioBitrate('aac', audioBitrate) |
263 | if (maxAudioBitrate !== -1 && audioBitrate > maxAudioBitrate) return false | 263 | if (maxAudioBitrate !== -1 && audioBitrate > maxAudioBitrate) return false |
264 | 264 | ||
265 | const channelLayout = parsedAudio.audioStream['channel_layout'] | ||
266 | // Causes playback issues with Chrome | ||
267 | if (!channelLayout || channelLayout === 'unknown') return false | ||
268 | |||
265 | return true | 269 | return true |
266 | } | 270 | } |
267 | 271 | ||