Skip to content

Commit e9f72dc

Browse files
Fix sound sometimes not exporting when range start > 1
1 parent f5f1071 commit e9f72dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core_lib/src/movieexporter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ Status MovieExporter::assembleAudio(const Object* obj,
191191
QString filterComplex, amergeInput, panChannelLayout;
192192
QStringList args;
193193

194-
int wholeLen = qCeil((endFrame - startFrame) * 44100.0 / fps);
194+
int wholeLen = qCeil(endFrame * 44100.0 / fps);
195195
for (auto clip : allSoundClips)
196196
{
197197
if (mCanceled)

0 commit comments

Comments
 (0)