[vlc-devel] commit: Do not set sout-keep by default. (Laurent Aimar )

git version control git at videolan.org
Wed Sep 3 23:04:36 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Sep  3 23:03:05 2008 +0200| [e0b32b4cb3f6d9f391cbfe4bb06f42741073c845] | committer: Laurent Aimar 

Do not set sout-keep by default.

 While it is great for (some) streaming cases it is really wrong for saving
to a file for example and/or without using the gather module.

 If you have read how to use the gather module, you probably have read enough
documentation to add sout-keep...

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

 NEWS                |    1 +
 src/libvlc-module.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index 10f6c0d..19b5315 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ Decoders:
  * AES3 (SMPTE 302M) support
 Stream output:
  * Restored the old mpeg2 transrating module.
+ * Restored the old behavior of --sout-keep. It is now de-activated by default.
 
 Changes between 0.8.6i and 0.9.1:
 ---------------------------------
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 911aed4..0089d72 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1796,7 +1796,7 @@ vlc_module_begin();
     add_string( "sout", NULL, NULL, SOUT_TEXT, SOUT_LONGTEXT, true );
     add_bool( "sout-display", false, NULL, SOUT_DISPLAY_TEXT,
                                 SOUT_DISPLAY_LONGTEXT, true );
-    add_bool( "sout-keep", true, NULL, SOUT_KEEP_TEXT,
+    add_bool( "sout-keep", false, NULL, SOUT_KEEP_TEXT,
                                 SOUT_KEEP_LONGTEXT, true );
     add_bool( "sout-all", 0, NULL, SOUT_ALL_TEXT,
                                 SOUT_ALL_LONGTEXT, true );




More information about the vlc-devel mailing list