diff options
Diffstat (limited to 'server/helpers/ffmpeg-utils.ts')
-rw-r--r-- | server/helpers/ffmpeg-utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts index 5ee295635..e0e408ea0 100644 --- a/server/helpers/ffmpeg-utils.ts +++ b/server/helpers/ffmpeg-utils.ts | |||
@@ -170,7 +170,7 @@ async function getVideoFileFPS (path: string) { | |||
170 | return 0 | 170 | return 0 |
171 | } | 171 | } |
172 | 172 | ||
173 | async function getMetadataFromFile<T> (path: string, cb = metadata => metadata) { | 173 | async function getMetadataFromFile <T> (path: string, cb = metadata => metadata) { |
174 | return new Promise<T>((res, rej) => { | 174 | return new Promise<T>((res, rej) => { |
175 | ffmpeg.ffprobe(path, (err, metadata) => { | 175 | ffmpeg.ffprobe(path, (err, metadata) => { |
176 | if (err) return rej(err) | 176 | if (err) return rej(err) |