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

git version control git at videolan.org
Fri Sep 5 08:52:25 CEST 2008


vlc | branch: 0.9-bugfix | Laurent Aimar <fenrir at videolan.org> | Wed Sep  3 23:03:05 2008 +0200| [6f0720077f8ddc546301144a8d57bebfd8ed41af] | committer: Jean-Baptiste Kempf 

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=6f0720077f8ddc546301144a8d57bebfd8ed41af
---

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

diff --git a/NEWS b/NEWS
index c292147..6e352e0 100644
--- a/NEWS
+++ b/NEWS
@@ -21,7 +21,6 @@ Important notes:
    This interface has a fullscreen controller and simplified preferences.
    This interface lacks the "Streaming Wizard" that used to be present in VLC
    0.8.6.
- * The behavior of --sout-keep was changed. It's now activated by default.
  * The marq, mosaic and logo commands in the rc interface changed. They
    now require a target name as their first argument. Example:
    vlc --sub-filter "marq at test{marquee=Hello}" -I rc <somevideo>
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 7498794..7fcfa3c 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1762,7 +1762,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