Quicktime-cocoa : fix file busy issue when rendering a second time with quicktime...
[blender.git] / source / blender / quicktime / apple / qtkit_export.m
index e308118e9d625c74eb825d9c7e13eb60fed674be..460b35a05924fe95d2a656a6b5cc751c6e845267 100644 (file)
@@ -187,7 +187,9 @@ void end_qt(void)
        if (qtexport->movie) {
                /* Flush update of the movie file */
                [qtexport->movie updateMovieFile];
-                               
+               
+               [qtexport->movie invalidate];
+               
                /* Clean up movie structure */
                [qtexport->filename release];
                [qtexport->frameAttributes release];