Commit cecde7fc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

add_savefile: remove callback parameter

parent 2e6858af
......@@ -311,7 +311,7 @@ enum vlc_module_properties
add_string_inner( CONFIG_ITEM_LOADFILE, name, text, longtext, advc, \
value )
#define add_savefile( name, value, p_callback, text, longtext, advc ) \
#define add_savefile( name, value, text, longtext, advc ) \
add_string_inner( CONFIG_ITEM_SAVEFILE, name, text, longtext, advc, \
value )
......
......@@ -118,7 +118,7 @@ vlc_module_begin ()
change_string_list( format_list, 0, 0 )
add_integer( "audiofile-channels", 0, NULL,
CHANNELS_TEXT, CHANNELS_LONGTEXT, true )
add_savefile( "audiofile-file", "audiofile.wav", NULL, FILE_TEXT,
add_savefile( "audiofile-file", "audiofile.wav", FILE_TEXT,
FILE_LONGTEXT, false )
add_bool( "audiofile-wav", true, NULL, WAV_TEXT, WAV_LONGTEXT, true )
......
......@@ -53,7 +53,7 @@ vlc_module_begin ()
set_subcategory( SUBCAT_INPUT_DEMUX )
set_description( N_("File dumper") )
set_capability( "demux", 0 )
add_savefile( "demuxdump-file", "stream-demux.dump", NULL, FILE_TEXT,
add_savefile( "demuxdump-file", "stream-demux.dump", FILE_TEXT,
FILE_LONGTEXT, false )
add_bool( "demuxdump-append", false, NULL, APPEND_TEXT, APPEND_LONGTEXT,
false )
......
......@@ -176,7 +176,7 @@ vlc_module_begin ()
add_integer( "ts-csa-pkt", 188, NULL, CPKT_TEXT, CPKT_LONGTEXT, true )
add_bool( "ts-silent", false, NULL, SILENT_TEXT, SILENT_LONGTEXT, true )
add_savefile( "ts-dump-file", NULL, NULL, TSDUMP_TEXT, TSDUMP_LONGTEXT, false )
add_savefile( "ts-dump-file", NULL, TSDUMP_TEXT, TSDUMP_LONGTEXT, false )
add_bool( "ts-dump-append", false, NULL, APPEND_TEXT, APPEND_LONGTEXT, false )
add_integer( "ts-dump-size", 16384, NULL, DUMPSIZE_TEXT,
DUMPSIZE_LONGTEXT, true )
......
......@@ -165,7 +165,7 @@ vlc_module_begin ()
set_category( CAT_ADVANCED )
set_subcategory( SUBCAT_ADVANCED_MISC )
add_savefile( "logfile", NULL, NULL,
add_savefile( "logfile", NULL,
N_("Log filename"), N_("Specify the log filename."), false )
add_string( "logmode", "text", LOGMODE_TEXT, LOGMODE_LONGTEXT,
false )
......
......@@ -1580,7 +1580,7 @@ const char vlc_usage[] = N_(
* add_string( option_name, value, N_(text), N_(longtext),
b_advanced_option )
* add_loadfile( option_name, psz_value, p_callback, N_(text), N_(longtext) )
* add_savefile( option_name, psz_value, p_callback, N_(text), N_(longtext) )
* add_savefile( option_name, psz_value, N_(text), N_(longtext) )
* add_module( option_name, psz_value, i_capability, p_callback,
* N_(text), N_(longtext) )
* add_integer( option_name, i_value, p_callback, N_(text), N_(longtext),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment