Fix T49027: Sequence uses too much memory when rendering scene with lots of movie...
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 9 Aug 2016 12:33:00 +0000 (14:33 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 9 Aug 2016 12:33:00 +0000 (14:33 +0200)
commit1647d89cf14b0286043b5d54398ecde8e132d042
treec0ea1064fa93e7552702aa4f3f50076dd4494c99
parentf990518041cf7fbfd2534f9ee3daf13f8bc509b4
Fix T49027: Sequence uses too much memory when rendering scene with lots of movie strips

Now we free sequencer cache and close all unneeded FFmpeg handles when rendering.
This is the same logic as image sequence memory freeding.
source/blender/blenkernel/BKE_sequencer.h
source/blender/blenkernel/intern/sequencer.c
source/blender/render/intern/source/pipeline.c