projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add action hooks to user routes
[oweals/peertube.git]
/
server
/
helpers
/
ffmpeg-utils.ts
diff --git
a/server/helpers/ffmpeg-utils.ts
b/server/helpers/ffmpeg-utils.ts
index 1eea05d1edaaaeeaecc8cce6b8dfaf052c38bd20..00c32e99a7f2d20d6a86ced5f288105a763df527 100644
(file)
--- a/
server/helpers/ffmpeg-utils.ts
+++ b/
server/helpers/ffmpeg-utils.ts
@@
-70,7
+70,7
@@
async function getAudioStreamCodec (path: string) {
if (!audioStream) return ''
const audioCodec = audioStream.codec_name
- if (audioCodec
.codec_name
=== 'aac') return 'mp4a.40.2'
+ if (audioCodec === 'aac') return 'mp4a.40.2'
logger.warn('Cannot get audio codec of %s.', path, { audioStream })