Added fix mentioned in bug #3206
VideoWriter memory leak solved.
Merge pull request #1246 from StevenPuttemans:bugfix_3206