aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/ffmpeg-utils.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-11-26 16:36:48 +0100
committerChocobozzz <me@florianbigard.com>2019-11-26 16:57:51 +0100
commit49c3bf6fa25afb49c8a27937147043c6e4ce95c3 (patch)
treec4e126c19ee2dab4b7c8c66ec913618549ca9009 /server/helpers/ffmpeg-utils.ts
parent52201311e1973a12960466232d4dec861e8258ee (diff)
downloadPeerTube-49c3bf6fa25afb49c8a27937147043c6e4ce95c3.tar.gz
PeerTube-49c3bf6fa25afb49c8a27937147043c6e4ce95c3.tar.zst
PeerTube-49c3bf6fa25afb49c8a27937147043c6e4ce95c3.zip
Fix duplicate HLS resolution in master playlist
Diffstat (limited to 'server/helpers/ffmpeg-utils.ts')
-rw-r--r--server/helpers/ffmpeg-utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts
index 1eea05d1e..00c32e99a 100644
--- a/server/helpers/ffmpeg-utils.ts
+++ b/server/helpers/ffmpeg-utils.ts
@@ -70,7 +70,7 @@ async function getAudioStreamCodec (path: string) {
70 if (!audioStream) return '' 70 if (!audioStream) return ''
71 71
72 const audioCodec = audioStream.codec_name 72 const audioCodec = audioStream.codec_name
73 if (audioCodec.codec_name === 'aac') return 'mp4a.40.2' 73 if (audioCodec === 'aac') return 'mp4a.40.2'
74 74
75 logger.warn('Cannot get audio codec of %s.', path, { audioStream }) 75 logger.warn('Cannot get audio codec of %s.', path, { audioStream })
76 76