[vlc-commits] dummy intf: Deprecate dummy-quiet option

Hugo Beauzée-Luyssen git at videolan.org
Wed Mar 21 10:50:38 CET 2018


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Mar 21 10:29:13 2018 +0100| [b349484398da0523e3f44c02593810b230f3dd99] | committer: Hugo Beauzée-Luyssen

dummy intf: Deprecate dummy-quiet option

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

 modules/control/dummy.c | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/modules/control/dummy.c b/modules/control/dummy.c
index 4e0406dd5a..c36967f1b5 100644
--- a/modules/control/dummy.c
+++ b/modules/control/dummy.c
@@ -34,15 +34,6 @@
 #include <vlc_plugin.h>
 #include <vlc_interface.h>
 
-#ifdef _WIN32
-#define QUIET_TEXT N_("Do not open a DOS command box interface")
-#define QUIET_LONGTEXT N_( \
-    "By default the dummy interface plugin will start a DOS command box. " \
-    "Enabling the quiet mode will not bring this command box but can also " \
-    "be pretty annoying when you want to stop VLC and no video window is " \
-    "open." )
-#endif
-
 static int Open( vlc_object_t * );
 
 vlc_module_begin ()
@@ -51,7 +42,7 @@ vlc_module_begin ()
     set_capability( "interface", 0 )
     set_callbacks( Open, NULL )
 #if defined(_WIN32) && !VLC_WINSTORE_APP
-    add_bool( "dummy-quiet", false, QUIET_TEXT, QUIET_LONGTEXT, false )
+    add_obsolete_bool( "dummy-quiet" )
 #endif
 vlc_module_end ()
 



More information about the vlc-commits mailing list