[vlc-commits] record: fix sout-access-file syntax (fixes #10473)

Rémi Denis-Courmont git at videolan.org
Fri Jan 24 06:10:43 CET 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jan 24 07:07:55 2014 +0200| [af24f1e83c9aed71f2104b7698e34399539f4f27] | committer: Rémi Denis-Courmont

record: fix sout-access-file syntax (fixes #10473)

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

 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 10c635e..e681cc2 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',no-append,"
-                  "no-format}", psz_muxer, psz_file ) < 0 )
+    if( asprintf( &psz_output, "std{access=file{no-append,no-format},"
+                  "mux='%s',dst='%s'}", psz_muxer, psz_file ) < 0 )
     {
         psz_output = NULL;
         goto error;



More information about the vlc-commits mailing list