[vlc-commits] record: explicitly disable append and format

Rémi Denis-Courmont git at videolan.org
Tue Nov 20 21:46:11 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Nov 20 22:45:42 2012 +0200| [b21288225f6a4f9cfc51cc895eec89d3c4a84291] | committer: Rémi Denis-Courmont

record: explicitly disable append and format

Just in case they have been manually enabled in the configuration.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b21288225f6a4f9cfc51cc895eec89d3c4a84291
---

 modules/stream_out/record.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/stream_out/record.c b/modules/stream_out/record.c
index c1cbf42..ac3963f 100644
--- a/modules/stream_out/record.c
+++ b/modules/stream_out/record.c
@@ -330,8 +330,8 @@ static int OutputNew( sout_stream_t *p_stream,
     }
     free( psz_tmp );
 
-    if( asprintf( &psz_output, "std{access=file,mux='%s',dst='%s'}",
-                  psz_muxer, psz_file ) < 0 )
+    if( asprintf( &psz_output, "std{access=file,mux='%s',dst='%s',no-append,"
+                  "no-format}", psz_muxer, psz_file ) < 0 )
     {
         psz_output = NULL;
         goto error;



More information about the vlc-commits mailing list