Skip to content

Commit

Permalink
fix(renderSingleFrame): error thrown by-pass
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft authored Jun 18, 2021
1 parent 1ba412e commit 8e84a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ async function renderSingleFrame({
ffmpegPath = 'ffmpeg',
outPath = `${Math.floor(Math.random() * 1e12)}.png`,
}) {
const clips = await parseConfig({ defaults, clips: clipsIn, allowRemoteRequests, ffprobePath });
const clips = await parseConfig({ defaults, clips: clipsIn, arbitraryAudio: [], allowRemoteRequests, ffprobePath });
let clipStartTime = 0;
const clip = clips.find((c) => {
if (clipStartTime <= time && clipStartTime + c.duration > time) return true;
Expand Down

0 comments on commit 8e84a98

Please sign in to comment.