=== modified file 'plugins/elements/gstfilesink.c'
--- plugins/elements/gstfilesink.c	2006-07-30 20:20:42 +0000
+++ plugins/elements/gstfilesink.c	2006-09-30 20:25:24 +0000
@@ -269,6 +269,7 @@
       goto close_failed;
 
     GST_DEBUG_OBJECT (sink, "closed file");
+    sink->file = NULL;
   }
   return;
 

