Skip to content

Commit

Permalink
Fix sound sometimes not exporting when range start > 1
Browse files Browse the repository at this point in the history
  • Loading branch information
scribblemaniac committed Mar 12, 2023
1 parent f5f1071 commit e9f72dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core_lib/src/movieexporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ Status MovieExporter::assembleAudio(const Object* obj,
QString filterComplex, amergeInput, panChannelLayout;
QStringList args;

int wholeLen = qCeil((endFrame - startFrame) * 44100.0 / fps);
int wholeLen = qCeil(endFrame * 44100.0 / fps);
for (auto clip : allSoundClips)
{
if (mCanceled)
Expand Down

0 comments on commit e9f72dc

Please sign in to comment.