diff options
author | Joerg Mueller <nexyon@gmail.com> | 2010-02-27 00:08:06 +0300 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2010-02-27 00:08:06 +0300 |
commit | a7b73a49a45739aba26601ba9f8261d467e7bd5e (patch) | |
tree | 51b2c558ddab1524bb7bb3ee86ec032507035621 | |
parent | 10dbf6faee8d9b0f592c598c0b29008effa3b80c (diff) |
Fix for ffmpeg audio rendering being to long.
-rw-r--r-- | source/blender/blenkernel/intern/writeffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/writeffmpeg.c b/source/blender/blenkernel/intern/writeffmpeg.c index 917ecd044ea..6e94602c0c9 100644 --- a/source/blender/blenkernel/intern/writeffmpeg.c +++ b/source/blender/blenkernel/intern/writeffmpeg.c @@ -880,7 +880,7 @@ int append_ffmpeg(RenderData *rd, int frame, int *pixels, int rectx, int recty, } } - write_audio_frames(frame / (((double)rd->frs_sec) / rd->frs_sec_base)); + write_audio_frames((frame - rd->sfra) / (((double)rd->frs_sec) / rd->frs_sec_base)); return success; } |