]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/scene.c
Use var_InheritString for --decklink-video-connection.
[vlc] / modules / video_filter / scene.c
index a19454b8fdb6920b6f1b8a260777c7be84cae99d..ae6d78ab2c1e9344b10600f7de00a62457ac7b1e 100644 (file)
@@ -319,6 +319,9 @@ static void SavePicture( filter_t *p_filter, picture_t *p_pic )
     else
     {
         /* switch to the final destination */
+#if defined (WIN32)
+        vlc_unlink( psz_filename );
+#endif
         i_ret = vlc_rename( psz_temp, psz_filename );
         if( i_ret == -1 )
         {