]> git.sesse.net Git - vlc/blobdiff - modules/demux/live555.cpp
Use add_password instead of add_string when applicable.
[vlc] / modules / demux / live555.cpp
index 99fc633fd0450ac10ddc3d04acbf6198ccf02639..ae1dd9bc469930d9486875390f8601baa93ae72f 100644 (file)
@@ -134,8 +134,8 @@ vlc_module_begin ()
                     KASENNA_LONGTEXT, true )
         add_string( "rtsp-user", NULL, NULL, USER_TEXT,
                     USER_LONGTEXT, true )
-        add_string( "rtsp-pwd", NULL, NULL, PASS_TEXT,
-                    PASS_LONGTEXT, true )
+        add_password( "rtsp-pwd", NULL, NULL, PASS_TEXT,
+                      PASS_LONGTEXT, true )
 vlc_module_end ()