[vlc-devel] commit: add_string wants a string. ( Rémi Duraffort )

git version control git at videolan.org
Wed Sep 2 14:38:11 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Sep  2 10:39:03 2009 +0200| [199e85e36e18295060594554f3c2d550c2cd8a21] | committer: Rémi Duraffort 

add_string wants a string.

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

 modules/control/rc.c               |    4 ++--
 modules/stream_out/mosaic_bridge.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/control/rc.c b/modules/control/rc.c
index 2db0fea..95526f8 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -199,9 +199,9 @@ vlc_module_begin ()
 #if defined (HAVE_ISATTY)
     add_bool( "rc-fake-tty", 0, NULL, TTY_TEXT, TTY_LONGTEXT, true )
 #endif
-    add_string( "rc-unix", 0, NULL, UNIX_TEXT, UNIX_LONGTEXT, true )
+    add_string( "rc-unix", NULL, NULL, UNIX_TEXT, UNIX_LONGTEXT, true )
 #endif
-    add_string( "rc-host", 0, NULL, HOST_TEXT, HOST_LONGTEXT, true )
+    add_string( "rc-host", NULL, NULL, HOST_TEXT, HOST_LONGTEXT, true )
 
     set_capability( "interface", 20 )
 
diff --git a/modules/stream_out/mosaic_bridge.c b/modules/stream_out/mosaic_bridge.c
index a797652..076b501 100644
--- a/modules/stream_out/mosaic_bridge.c
+++ b/modules/stream_out/mosaic_bridge.c
@@ -157,7 +157,7 @@ vlc_module_begin ()
                  HEIGHT_LONGTEXT, true )
     add_string( CFG_PREFIX "sar", "1:1", NULL, RATIO_TEXT,
                 RATIO_LONGTEXT, false )
-    add_string( CFG_PREFIX "chroma", 0, NULL, CHROMA_TEXT, CHROMA_LONGTEXT,
+    add_string( CFG_PREFIX "chroma", NULL, NULL, CHROMA_TEXT, CHROMA_LONGTEXT,
                 false )
 
     add_module_list( CFG_PREFIX "vfilter", "video filter2",




More information about the vlc-devel mailing list