Blender Git Loki
Git Commits -> Revision c0ef4e9
Revision c0ef4e9 by Antonis Ryakiotakis (master) March 26, 2015, 13:50 (GMT) |
Fix T44122, rendering OpenGL preview movie with audio has wrong audio range and extra frames. Issue here is that the movie backend would unconditionally use the start frame of the scene instead of the preview frame. Solved by passing an explicit "preview" argument. Strictly speaking, the preview argument is part of the renderdata struct, that is also passed to the code, but when rendering the final result we want to unconditionally render the full range regardless of the preview setting of the render structure. However, OpenGL rendering does use the preview range so we need to account for that when making those exports. This is also a nice chance to correct the filenames, which still used the full range. |
Commit Details:
Full Hash: c0ef4e9b788b8db433bf3e92bd19ee00f86f9866
Parent Commit: f80064f
Lines Changed: +94, -40
11 Modified Paths:
/source/blender/blenkernel/BKE_writeavi.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_writeffmpeg.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_writeframeserver.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/writeavi.c (+21, -12) (Diff)
/source/blender/blenkernel/intern/writeffmpeg.c (+19, -7) (Diff)
/source/blender/blenkernel/intern/writeframeserver.c (+1, -1) (Diff)
/source/blender/editors/render/render_opengl.c (+1, -1) (Diff)
/source/blender/editors/screen/screendump.c (+1, -1) (Diff)
/source/blender/quicktime/apple/qtkit_export.m (+41, -9) (Diff)
/source/blender/quicktime/quicktime_export.h (+3, -3) (Diff)
/source/blender/render/intern/source/pipeline.c (+2, -1) (Diff)
/source/blender/blenkernel/BKE_writeffmpeg.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_writeframeserver.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/writeavi.c (+21, -12) (Diff)
/source/blender/blenkernel/intern/writeffmpeg.c (+19, -7) (Diff)
/source/blender/blenkernel/intern/writeframeserver.c (+1, -1) (Diff)
/source/blender/editors/render/render_opengl.c (+1, -1) (Diff)
/source/blender/editors/screen/screendump.c (+1, -1) (Diff)
/source/blender/quicktime/apple/qtkit_export.m (+41, -9) (Diff)
/source/blender/quicktime/quicktime_export.h (+3, -3) (Diff)
/source/blender/render/intern/source/pipeline.c (+2, -1) (Diff)