multifilesink: post messages in max-size mode as well
authorTim-Philipp Müller <tim@centricular.net>
Fri, 16 Nov 2012 09:09:38 +0000 (09:09 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 16 Nov 2012 09:13:22 +0000 (09:13 +0000)
No reason not to really.

gst/multifile/gstmultifilesink.c

index 3b71764..69e9f84 100644 (file)
@@ -612,7 +612,7 @@ gst_multi_file_sink_render (GstBaseSink * sink, GstBuffer * buffer)
 
         if (multifilesink->file != NULL) {
           first_file = FALSE;
-          gst_multi_file_sink_close_file (multifilesink, NULL);
+          gst_multi_file_sink_close_file (multifilesink, buffer);
         }
       }