Fix T49172: mixdown sound op not exporting full length

Thanks Flavio Perez for the fix.
This commit is contained in:
Joerg Mueller 2016-08-29 10:54:32 +02:00
parent 5af58faf79
commit cc2faa409f
Notes: blender-bot 2023-02-14 07:39:44 +01:00
Referenced by issue #49172, mixdown sound op not exporting full length
1 changed files with 2 additions and 2 deletions

View File

@ -348,10 +348,10 @@ static int sound_mixdown_exec(bContext *C, wmOperator *op)
BLI_path_abs(filename, bmain->name);
if (split)
result = AUD_mixdown_per_channel(scene->sound_scene, SFRA * specs.rate / FPS, (EFRA - SFRA) * specs.rate / FPS,
result = AUD_mixdown_per_channel(scene->sound_scene, SFRA * specs.rate / FPS, (EFRA - SFRA + 1) * specs.rate / FPS,
accuracy, filename, specs, container, codec, bitrate);
else
result = AUD_mixdown(scene->sound_scene, SFRA * specs.rate / FPS, (EFRA - SFRA) * specs.rate / FPS,
result = AUD_mixdown(scene->sound_scene, SFRA * specs.rate / FPS, (EFRA - SFRA + 1) * specs.rate / FPS,
accuracy, filename, specs, container, codec, bitrate);
if (result) {