Mark --sub-file option safe - should fix #3224
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 9 Jan 2010 18:01:08 +0000 (20:01 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 10 Jan 2010 07:56:00 +0000 (09:56 +0200)
src/libvlc-module.c

index f438710..d5fe1f7 100644 (file)
@@ -1769,6 +1769,7 @@ vlc_module_begin ()
     set_section( N_("Subtitles") , NULL )
     add_file( "sub-file", NULL, NULL, SUB_FILE_TEXT,
               SUB_FILE_LONGTEXT, false )
+        change_safe()
     add_bool( "sub-autodetect-file", true, NULL,
                  SUB_AUTO_TEXT, SUB_AUTO_LONGTEXT, false )
     add_integer( "sub-autodetect-fuzzy", 3, NULL,