mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-25 03:33:14 +01:00
transfer timestamp when html5ifying also
This commit is contained in:
parent
aab07e848f
commit
197c2f9418
@ -96,7 +96,7 @@ async function cut({
|
||||
const result = await process;
|
||||
console.log(result.stdout);
|
||||
|
||||
return util.transferTimestamps(filePath, outPath);
|
||||
await util.transferTimestamps(filePath, outPath);
|
||||
}
|
||||
|
||||
async function html5ify(filePath, outPath, encodeVideo) {
|
||||
@ -118,6 +118,8 @@ async function html5ify(filePath, outPath, encodeVideo) {
|
||||
const process = execa(ffmpegPath, ffmpegArgs);
|
||||
const result = await process;
|
||||
console.log(result.stdout);
|
||||
|
||||
await util.transferTimestamps(filePath, outPath);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user