- * Playlist
- ****************************************************************************/
-
-// DEPRECATED
-#define PLAYLIST_CAT_LONGTEXT N_( \
- "These options define the behavior of the playlist. Some " \
- "of them can be overridden in the playlist dialog box." )
-
-#define PREPARSE_TEXT N_( "Automatically preparse files")
-#define PREPARSE_LONGTEXT N_( \
- "Automatically preparse files added to the playlist " \
- "(to retrieve some metadata)." )
-
-#define SD_TEXT N_( "Services discovery modules")
-#define SD_LONGTEXT N_( \
- "Specifies the services discovery modules to load, separated by " \
- "semi-colons. Typical values are sap, hal, ..." )
-
-#define RANDOM_TEXT N_("Play files randomly forever")
-#define RANDOM_LONGTEXT N_( \
- "VLC will randomly play files in the playlist until interrupted.")
-
-#define LOOP_TEXT N_("Repeat all")
-#define LOOP_LONGTEXT N_( \
- "VLC will keep playing the playlist indefinitely." )
-
-#define REPEAT_TEXT N_("Repeat current item")
-#define REPEAT_LONGTEXT N_( \
- "VLC will keep playing the current playlist item." )
-
-#define PAS_TEXT N_("Play and stop")
-#define PAS_LONGTEXT N_( \
- "Stop the playlist after each played playlist item." )
-
-#define ML_TEXT N_("Use media library")
-#define ML_LONGTEXT N_( \
- "The media library is automatically saved and reloaded each time you " \
- "start VLC." )
-
-#define PLTREE_TEXT N_("Use playlist tree")
-#define PLTREE_LONGTEXT N_( \
- "The playlist can use a tree to categorize some items, like the " \
- "contents of a directory. \"Default\" means that the tree will only " \
- "be used when really needed." )
-static int pi_pltree_values[] = { 0, 1, 2 };
-static char *ppsz_pltree_descriptions[] = { N_("Default"), N_("Always"), N_("Never") };
-
-
-
-/*****************************************************************************
- * Hotkeys
- ****************************************************************************/
-
-// DEPRECATED
-#define HOTKEY_CAT_LONGTEXT N_( "These settings are the global VLC key " \
- "bindings, known as \"hotkeys\"." )
-
-#define FULLSCREEN_KEY_TEXT N_("Fullscreen")
-#define FULLSCREEN_KEY_LONGTEXT N_("Select the hotkey to use to swap fullscreen state.")
-#define PLAY_PAUSE_KEY_TEXT N_("Play/Pause")
-#define PLAY_PAUSE_KEY_LONGTEXT N_("Select the hotkey to use to swap paused state.")
-#define PAUSE_KEY_TEXT N_("Pause only")
-#define PAUSE_KEY_LONGTEXT N_("Select the hotkey to use to pause.")
-#define PLAY_KEY_TEXT N_("Play only")
-#define PLAY_KEY_LONGTEXT N_("Select the hotkey to use to play.")
-#define FASTER_KEY_TEXT N_("Faster")
-#define FASTER_KEY_LONGTEXT N_("Select the hotkey to use for fast forward playback.")
-#define SLOWER_KEY_TEXT N_("Slower")
-#define SLOWER_KEY_LONGTEXT N_("Select the hotkey to use for slow motion playback.")
-#define NEXT_KEY_TEXT N_("Next")
-#define NEXT_KEY_LONGTEXT N_("Select the hotkey to use to skip to the next item in the playlist.")
-#define PREV_KEY_TEXT N_("Previous")
-#define PREV_KEY_LONGTEXT N_("Select the hotkey to use to skip to the previous item in the playlist.")
-#define STOP_KEY_TEXT N_("Stop")
-#define STOP_KEY_LONGTEXT N_("Select the hotkey to stop playback.")
-#define POSITION_KEY_TEXT N_("Position")
-#define POSITION_KEY_LONGTEXT N_("Select the hotkey to display the position.")
-
-#define JBEXTRASHORT_KEY_TEXT N_("Very short backwards jump")
-#define JBEXTRASHORT_KEY_LONGTEXT \
- N_("Select the hotkey to make a very short backwards jump.")
-#define JBSHORT_KEY_TEXT N_("Short backwards jump")
-#define JBSHORT_KEY_LONGTEXT \
- N_("Select the hotkey to make a short backwards jump.")
-#define JBMEDIUM_KEY_TEXT N_("Medium backwards jump")
-#define JBMEDIUM_KEY_LONGTEXT \
- N_("Select the hotkey to make a medium backwards jump.")
-#define JBLONG_KEY_TEXT N_("Long backwards jump")
-#define JBLONG_KEY_LONGTEXT \
- N_("Select the hotkey to make a long backwards jump.")
-
-#define JFEXTRASHORT_KEY_TEXT N_("Very short forward jump")
-#define JFEXTRASHORT_KEY_LONGTEXT \
- N_("Select the hotkey to make a very short forward jump.")
-#define JFSHORT_KEY_TEXT N_("Short forward jump")
-#define JFSHORT_KEY_LONGTEXT \
- N_("Select the hotkey to make a short forward jump.")
-#define JFMEDIUM_KEY_TEXT N_("Medium forward jump")
-#define JFMEDIUM_KEY_LONGTEXT \
- N_("Select the hotkey to make a medium forward jump.")
-#define JFLONG_KEY_TEXT N_("Long forward jump")
-#define JFLONG_KEY_LONGTEXT \
- N_("Select the hotkey to make a long forward jump.")
-
-#define JIEXTRASHORT_TEXT N_("Very short jump length")
-#define JIEXTRASHORT_LONGTEXT N_("Very short jump length, in seconds.")
-#define JISHORT_TEXT N_("Short jump length")
-#define JISHORT_LONGTEXT N_("Short jump length, in seconds.")
-#define JIMEDIUM_TEXT N_("Medium jump length")
-#define JIMEDIUM_LONGTEXT N_("Medium jump length, in seconds.")
-#define JILONG_TEXT N_("Long jump length")
-#define JILONG_LONGTEXT N_("Long jump length, in seconds.")
-
-#define QUIT_KEY_TEXT N_("Quit")
-#define QUIT_KEY_LONGTEXT N_("Select the hotkey to quit the application.")
-#define NAV_UP_KEY_TEXT N_("Navigate up")
-#define NAV_UP_KEY_LONGTEXT N_("Select the key to move the selector up in DVD menus.")
-#define NAV_DOWN_KEY_TEXT N_("Navigate down")
-#define NAV_DOWN_KEY_LONGTEXT N_("Select the key to move the selector down in DVD menus.")
-#define NAV_LEFT_KEY_TEXT N_("Navigate left")
-#define NAV_LEFT_KEY_LONGTEXT N_("Select the key to move the selector left in DVD menus.")
-#define NAV_RIGHT_KEY_TEXT N_("Navigate right")
-#define NAV_RIGHT_KEY_LONGTEXT N_("Select the key to move the selector right in DVD menus.")
-#define NAV_ACTIVATE_KEY_TEXT N_("Activate")
-#define NAV_ACTIVATE_KEY_LONGTEXT N_("Select the key to activate selected item in DVD menus.")
-#define DISC_MENU_TEXT N_("Go to the DVD menu")
-#define DISC_MENU_LONGTEXT N_("Select the key to take you to the DVD menu")
-#define TITLE_PREV_TEXT N_("Select previous DVD title")
-#define TITLE_PREV_LONGTEXT N_("Select the key to choose the previous title from the DVD")
-#define TITLE_NEXT_TEXT N_("Select next DVD title")
-#define TITLE_NEXT_LONGTEXT N_("Select the key to choose the next title from the DVD")
-#define CHAPTER_PREV_TEXT N_("Select prev DVD chapter")
-#define CHAPTER_PREV_LONGTEXT N_("Select the key to choose the previous chapter from the DVD")
-#define CHAPTER_NEXT_TEXT N_("Select next DVD chapter")
-#define CHAPTER_NEXT_LONGTEXT N_("Select the key to choose the next chapter from the DVD")
-#define VOL_UP_KEY_TEXT N_("Volume up")
-#define VOL_UP_KEY_LONGTEXT N_("Select the key to increase audio volume.")
-#define VOL_DOWN_KEY_TEXT N_("Volume down")
-#define VOL_DOWN_KEY_LONGTEXT N_("Select the key to decrease audio volume.")
-#define VOL_MUTE_KEY_TEXT N_("Mute")
-#define VOL_MUTE_KEY_LONGTEXT N_("Select the key to mute audio.")
-#define SUBDELAY_UP_KEY_TEXT N_("Subtitle delay up")
-#define SUBDELAY_UP_KEY_LONGTEXT N_("Select the key to increase the subtitle delay.")
-#define SUBDELAY_DOWN_KEY_TEXT N_("Subtitle delay down")
-#define SUBDELAY_DOWN_KEY_LONGTEXT N_("Select the key to decrease the subtitle delay.")
-#define AUDIODELAY_UP_KEY_TEXT N_("Audio delay up")
-#define AUDIODELAY_UP_KEY_LONGTEXT N_("Select the key to increase the audio delay.")
-#define AUDIODELAY_DOWN_KEY_TEXT N_("Audio delay down")
-#define AUDIODELAY_DOWN_KEY_LONGTEXT N_("Select the key to decrease the audio delay.")
-#define PLAY_BOOKMARK1_KEY_TEXT N_("Play playlist bookmark 1")
-#define PLAY_BOOKMARK2_KEY_TEXT N_("Play playlist bookmark 2")
-#define PLAY_BOOKMARK3_KEY_TEXT N_("Play playlist bookmark 3")
-#define PLAY_BOOKMARK4_KEY_TEXT N_("Play playlist bookmark 4")
-#define PLAY_BOOKMARK5_KEY_TEXT N_("Play playlist bookmark 5")
-#define PLAY_BOOKMARK6_KEY_TEXT N_("Play playlist bookmark 6")
-#define PLAY_BOOKMARK7_KEY_TEXT N_("Play playlist bookmark 7")
-#define PLAY_BOOKMARK8_KEY_TEXT N_("Play playlist bookmark 8")
-#define PLAY_BOOKMARK9_KEY_TEXT N_("Play playlist bookmark 9")
-#define PLAY_BOOKMARK10_KEY_TEXT N_("Play playlist bookmark 10")
-#define PLAY_BOOKMARK_KEY_LONGTEXT N_("Select the key to play this bookmark.")
-#define SET_BOOKMARK1_KEY_TEXT N_("Set playlist bookmark 1")
-#define SET_BOOKMARK2_KEY_TEXT N_("Set playlist bookmark 2")
-#define SET_BOOKMARK3_KEY_TEXT N_("Set playlist bookmark 3")
-#define SET_BOOKMARK4_KEY_TEXT N_("Set playlist bookmark 4")
-#define SET_BOOKMARK5_KEY_TEXT N_("Set playlist bookmark 5")
-#define SET_BOOKMARK6_KEY_TEXT N_("Set playlist bookmark 6")
-#define SET_BOOKMARK7_KEY_TEXT N_("Set playlist bookmark 7")
-#define SET_BOOKMARK8_KEY_TEXT N_("Set playlist bookmark 8")
-#define SET_BOOKMARK9_KEY_TEXT N_("Set playlist bookmark 9")
-#define SET_BOOKMARK10_KEY_TEXT N_("Set playlist bookmark 10")
-#define SET_BOOKMARK_KEY_LONGTEXT N_("Select the key to set this playlist bookmark.")
-
-#define BOOKMARK1_TEXT N_("Playlist bookmark 1")
-#define BOOKMARK2_TEXT N_("Playlist bookmark 2")
-#define BOOKMARK3_TEXT N_("Playlist bookmark 3")
-#define BOOKMARK4_TEXT N_("Playlist bookmark 4")
-#define BOOKMARK5_TEXT N_("Playlist bookmark 5")
-#define BOOKMARK6_TEXT N_("Playlist bookmark 6")
-#define BOOKMARK7_TEXT N_("Playlist bookmark 7")
-#define BOOKMARK8_TEXT N_("Playlist bookmark 8")
-#define BOOKMARK9_TEXT N_("Playlist bookmark 9")
-#define BOOKMARK10_TEXT N_("Playlist bookmark 10")
-#define BOOKMARK_LONGTEXT N_( \
- "This allows you to define playlist bookmarks.")
-
-#define HISTORY_BACK_TEXT N_("Go back in browsing history")
-#define HISTORY_BACK_LONGTEXT N_("Select the key to go back (to the previous media item) in the browsing history.")
-#define HISTORY_FORWARD_TEXT N_("Go forward in browsing history")
-#define HISTORY_FORWARD_LONGTEXT N_("Select the key to go forward (to the next media item) in the browsing history.")
-
-#define AUDIO_TRACK_KEY_TEXT N_("Cycle audio track")
-#define AUDIO_TRACK_KEY_LONGTEXT N_("Cycle through the available audio tracks(languages).")
-#define SUBTITLE_TRACK_KEY_TEXT N_("Cycle subtitle track")
-#define SUBTITLE_TRACK_KEY_LONGTEXT N_("Cycle through the available subtitle tracks.")
-#define ASPECT_RATIO_KEY_TEXT N_("Cycle source aspect ratio")
-#define ASPECT_RATIO_KEY_LONGTEXT N_("Cycle through a predefined list of source aspect ratios.")
-#define CROP_KEY_TEXT N_("Cycle video crop")
-#define CROP_KEY_LONGTEXT N_("Cycle through a predefined list of crop formats.")
-#define DEINTERLACE_KEY_TEXT N_("Cycle deinterlace modes")
-#define DEINTERLACE_KEY_LONGTEXT N_("Cycle through deinterlace modes.")
-#define INTF_SHOW_KEY_TEXT N_("Show interface")
-#define INTF_SHOW_KEY_LONGTEXT N_("Raise the interface above all other windows.")
-#define INTF_HIDE_KEY_TEXT N_("Hide interface")
-#define INTF_HIDE_KEY_LONGTEXT N_("Lower the interface below all other windows.")
-#define SNAP_KEY_TEXT N_("Take video snapshot")
-#define SNAP_KEY_LONGTEXT N_("Takes a video snapshot and writes it to disk.")
-
-#define RECORD_KEY_TEXT N_("Record")
-#define RECORD_KEY_LONGTEXT N_("Record access filter start/stop.")
-
-#define ZOOM_KEY_TEXT N_("Zoom")
-#define ZOOM_KEY_LONGTEXT N_("Zoom")
-
-#define UNZOOM_KEY_TEXT N_("Un-Zoom")
-#define UNZOOM_KEY_LONGTEXT N_("Un-Zoom")
-
-#define CROP_TOP_KEY_TEXT N_("Crop one pixel from the top of the video")
-#define CROP_TOP_KEY_LONGTEXT N_("Crop one pixel from the top of the video")
-#define UNCROP_TOP_KEY_TEXT N_("Uncrop one pixel from the top of the video")
-#define UNCROP_TOP_KEY_LONGTEXT N_("Uncrop one pixel from the top of the video")
-
-#define CROP_LEFT_KEY_TEXT N_("Crop one pixel from the left of the video")
-#define CROP_LEFT_KEY_LONGTEXT N_("Crop one pixel from the left of the video")
-#define UNCROP_LEFT_KEY_TEXT N_("Uncrop one pixel from the left of the video")
-#define UNCROP_LEFT_KEY_LONGTEXT N_("Uncrop one pixel from the left of the video")
-
-#define CROP_BOTTOM_KEY_TEXT N_("Crop one pixel from the bottom of the video")
-#define CROP_BOTTOM_KEY_LONGTEXT N_("Crop one pixel from the bottom of the video")
-#define UNCROP_BOTTOM_KEY_TEXT N_("Uncrop one pixel from the bottom of the video")
-#define UNCROP_BOTTOM_KEY_LONGTEXT N_("Uncrop one pixel from the bottom of the video")
-
-#define CROP_RIGHT_KEY_TEXT N_("Crop one pixel from the right of the video")
-#define CROP_RIGHT_KEY_LONGTEXT N_("Crop one pixel from the right of the video")
-#define UNCROP_RIGHT_KEY_TEXT N_("Uncrop one pixel from the right of the video")
-#define UNCROP_RIGHT_KEY_LONGTEXT N_("Uncrop one pixel from the right of the video")
-
-
-#define VLC_USAGE N_( \
- "Usage: %s [options] [stream] ..." \
- "\nYou can specify multiple streams on the commandline. They will be enqueued in the playlist." \
- "\nThe first item specified will be played first." \
- "\n" \
- "\nOptions-styles:" \
- "\n --option A global option that is set for the duration of the program." \
- "\n -option A single letter version of a global --option." \
- "\n :option An option that only applies to the stream directly before it" \
- "\n and that overrides previous settings." \
- "\n" \
- "\nStream MRL syntax:" \
- "\n [[access][/demux]://]URL[@[title][:chapter][-[title][:chapter]]] [:option=value ...]" \
- "\n" \
- "\n Many of the global --options can also be used as MRL specific :options." \
- "\n Multiple :option=value pairs can be specified." \
- "\n" \
- "\nURL syntax:" \
- "\n [file://]filename Plain media file" \
- "\n http://ip:port/file HTTP URL" \
- "\n ftp://ip:port/file FTP URL" \
- "\n mms://ip:port/file MMS URL" \
- "\n screen:// Screen capture" \
- "\n [dvd://][device][@raw_device] DVD device" \
- "\n [vcd://][device] VCD device" \
- "\n [cdda://][device] Audio CD device" \
- "\n udp:[[<source address>]@[<bind address>][:<bind port>]]" \
- "\n UDP stream sent by a streaming server"\
- "\n vlc:pause:<seconds> Special item to pause the playlist for a certain time" \
- "\n vlc:quit Special item to quit VLC" \
- "\n")
-
-/*
- * Quick usage guide for the configuration options:
- *
- * add_category_hint( N_(text), N_(longtext), b_advanced_option );
- * add_subcategory_hint( N_(text), N_(longtext), b_advanced_option );
- * add_usage_hint( N_(text), b_advanced_option );
- * add_string( option_name, value, p_callback, N_(text), N_(longtext),
- b_advanced_option );
- * add_file( option_name, psz_value, p_callback, 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),
- b_advanced_option );
- * add_bool( option_name, b_value, p_callback, N_(text), N_(longtext),
- b_advanced_option );
- */
-
-vlc_module_begin();
-/* Audio options */
- set_category( CAT_AUDIO );
- set_subcategory( SUBCAT_AUDIO_GENERAL );
- add_category_hint( N_("Audio"), AOUT_CAT_LONGTEXT , VLC_FALSE );
-
- add_bool( "audio", 1, NULL, AUDIO_TEXT, AUDIO_LONGTEXT, VLC_FALSE );
- add_integer_with_range( "volume", AOUT_VOLUME_DEFAULT, AOUT_VOLUME_MIN,
- AOUT_VOLUME_MAX, NULL, VOLUME_TEXT,
- VOLUME_LONGTEXT, VLC_FALSE );
- add_integer_with_range( "volume-step", AOUT_VOLUME_STEP, AOUT_VOLUME_MIN,
- AOUT_VOLUME_MAX, NULL, VOLUME_STEP_TEXT,
- VOLUME_STEP_LONGTEXT, VLC_TRUE );
- add_integer( "aout-rate", -1, NULL, AOUT_RATE_TEXT,
- AOUT_RATE_LONGTEXT, VLC_TRUE );
-#if !defined( __APPLE__ )
- add_bool( "hq-resampling", 1, NULL, AOUT_RESAMP_TEXT,
- AOUT_RESAMP_LONGTEXT, VLC_TRUE );
-#endif
- add_bool( "spdif", 0, NULL, SPDIF_TEXT, SPDIF_LONGTEXT, VLC_FALSE );
- add_integer( "force-dolby-surround", 0, NULL, FORCE_DOLBY_TEXT,
- FORCE_DOLBY_LONGTEXT, VLC_FALSE );
- change_integer_list( pi_force_dolby_values, ppsz_force_dolby_descriptions, 0 );
- add_integer( "audio-desync", 0, NULL, DESYNC_TEXT,
- DESYNC_LONGTEXT, VLC_TRUE );
- set_subcategory( SUBCAT_AUDIO_AOUT );
- add_module( "aout", "audio output", NULL, NULL, AOUT_TEXT, AOUT_LONGTEXT,
- VLC_TRUE );
- set_subcategory( SUBCAT_AUDIO_AFILTER );
- add_module_list_cat( "audio-filter", SUBCAT_AUDIO_AFILTER, 0,
- NULL, AUDIO_FILTER_TEXT,
- AUDIO_FILTER_LONGTEXT, VLC_FALSE );
- set_subcategory( SUBCAT_AUDIO_VISUAL );
- add_module( "audio-visual", "visualization",NULL, NULL,AUDIO_VISUAL_TEXT,
- AUDIO_VISUAL_LONGTEXT, VLC_FALSE );
-
-/* Video options */
- set_category( CAT_VIDEO );
- set_subcategory( SUBCAT_VIDEO_GENERAL );
- add_category_hint( N_("Video"), VOUT_CAT_LONGTEXT , VLC_FALSE );
-
- add_bool( "video", 1, NULL, VIDEO_TEXT, VIDEO_LONGTEXT, VLC_TRUE );
- add_bool( "grayscale", 0, NULL, GRAYSCALE_TEXT,
- GRAYSCALE_LONGTEXT, VLC_TRUE );
- add_bool( "fullscreen", 0, NULL, FULLSCREEN_TEXT,
- FULLSCREEN_LONGTEXT, VLC_FALSE );
- change_short('f');
- add_bool( "drop-late-frames", 1, NULL, DROP_LATE_FRAMES_TEXT,
- DROP_LATE_FRAMES_LONGTEXT, VLC_TRUE );
- /* Used in vout_synchro */
- add_bool( "skip-frames", 1, NULL, SKIP_FRAMES_TEXT,
- SKIP_FRAMES_LONGTEXT, VLC_TRUE );
- add_bool( "quiet-synchro", 0, NULL, QUIET_SYNCHRO_TEXT,
- QUIET_SYNCHRO_LONGTEXT, VLC_TRUE );
-#ifndef __APPLE__
- add_bool( "overlay", 1, NULL, OVERLAY_TEXT, OVERLAY_LONGTEXT, VLC_FALSE );
-#endif
- add_bool( "video-on-top", 0, NULL, VIDEO_ON_TOP_TEXT,
- VIDEO_ON_TOP_LONGTEXT, VLC_FALSE );
- add_bool( "disable-screensaver", VLC_TRUE, NULL, SS_TEXT, SS_LONGTEXT,
- VLC_TRUE );
-
- set_section( N_("Snapshot") , NULL );
- add_directory( "snapshot-path", NULL, NULL, SNAP_PATH_TEXT,
- SNAP_PATH_LONGTEXT, VLC_FALSE );
- add_string( "snapshot-format", "png", NULL, SNAP_FORMAT_TEXT,
- SNAP_FORMAT_LONGTEXT, VLC_FALSE );
- change_string_list( ppsz_snap_formats, NULL, 0 );
- add_bool( "snapshot-preview", VLC_TRUE, NULL, SNAP_PREVIEW_TEXT,
- SNAP_PREVIEW_LONGTEXT, VLC_FALSE );
-
- set_section( N_("Window properties" ), NULL );
- add_integer( "width", -1, NULL, WIDTH_TEXT, WIDTH_LONGTEXT, VLC_TRUE );
- add_integer( "height", -1, NULL, HEIGHT_TEXT, HEIGHT_LONGTEXT, VLC_TRUE );
- add_integer( "video-x", -1, NULL, VIDEOX_TEXT, VIDEOX_LONGTEXT, VLC_TRUE );
- add_integer( "video-y", -1, NULL, VIDEOY_TEXT, VIDEOY_LONGTEXT, VLC_TRUE );
- add_string( "crop", NULL, NULL, CROP_TEXT, CROP_LONGTEXT, VLC_FALSE );
- add_string( "custom-crop-ratios", NULL, NULL, CUSTOM_CROP_RATIOS_TEXT,
- CUSTOM_CROP_RATIOS_LONGTEXT, VLC_FALSE );
- add_string( "aspect-ratio", NULL, NULL,
- ASPECT_RATIO_TEXT, ASPECT_RATIO_LONGTEXT, VLC_FALSE );
- add_string( "monitor-par", NULL, NULL,
- MASPECT_RATIO_TEXT, MASPECT_RATIO_LONGTEXT, VLC_TRUE );
- add_string( "custom-aspect-ratios", NULL, NULL, CUSTOM_ASPECT_RATIOS_TEXT,
- CUSTOM_ASPECT_RATIOS_LONGTEXT, VLC_FALSE );
- add_bool( "hdtv-fix", 1, NULL, HDTV_FIX_TEXT, HDTV_FIX_LONGTEXT, VLC_TRUE );
- add_bool( "video-deco", 1, NULL, VIDEO_DECO_TEXT,
- VIDEO_DECO_LONGTEXT, VLC_TRUE );
- add_string( "video-title", NULL, NULL, VIDEO_TITLE_TEXT,
- VIDEO_TITLE_LONGTEXT, VLC_TRUE );
- add_integer( "align", 0, NULL, ALIGN_TEXT, ALIGN_LONGTEXT, VLC_TRUE );
- change_integer_list( pi_align_values, ppsz_align_descriptions, 0 );
- add_float( "zoom", 1, NULL, ZOOM_TEXT, ZOOM_LONGTEXT, VLC_TRUE );
-
-
- set_subcategory( SUBCAT_VIDEO_VOUT );
- add_module( "vout", "video output", NULL, NULL, VOUT_TEXT, VOUT_LONGTEXT,
- VLC_TRUE );
- change_short('V');
-
- set_subcategory( SUBCAT_VIDEO_VFILTER );
- add_module_list_cat( "vout-filter", SUBCAT_VIDEO_VFILTER, NULL, NULL,
- FILTER_TEXT, FILTER_LONGTEXT, VLC_FALSE );
- add_deprecated( "filter", VLC_FALSE ); /*deprecated since 0.8.2 */
-#if 0
- add_string( "pixel-ratio", "1", NULL, PIXEL_RATIO_TEXT, PIXEL_RATIO_TEXT );
-#endif
-
-/* Subpictures options */
- set_subcategory( SUBCAT_VIDEO_SUBPIC );
- set_section( N_("On Screen Display") , NULL );
- add_category_hint( N_("Subpictures"), SUB_CAT_LONGTEXT , VLC_FALSE );
-
- add_bool( "spu", 1, NULL, SPU_TEXT, SPU_LONGTEXT, VLC_TRUE );
- add_bool( "osd", 1, NULL, OSD_TEXT, OSD_LONGTEXT, VLC_FALSE );
- add_module( "text-renderer", "text renderer", NULL, NULL, TEXTRENDERER_TEXT,
- TEXTRENDERER_LONGTEXT, VLC_TRUE );
-
- set_section( N_("Subtitles") , NULL );
- add_file( "sub-file", NULL, NULL, SUB_FILE_TEXT,
- SUB_FILE_LONGTEXT, VLC_FALSE );
- add_bool( "sub-autodetect-file", VLC_TRUE, NULL,
- SUB_AUTO_TEXT, SUB_AUTO_LONGTEXT, VLC_FALSE );
- add_integer( "sub-autodetect-fuzzy", 3, NULL,
- SUB_FUZZY_TEXT, SUB_FUZZY_LONGTEXT, VLC_TRUE );
-#ifdef WIN32
-# define SUB_PATH ".\\subtitles"
-#else
-# define SUB_PATH "./Subtitles, ./subtitles"
-#endif
- add_string( "sub-autodetect-path", SUB_PATH, NULL,
- SUB_PATH_TEXT, SUB_PATH_LONGTEXT, VLC_TRUE );
- add_integer( "sub-margin", 0, NULL, SUB_MARGIN_TEXT,
- SUB_MARGIN_LONGTEXT, VLC_TRUE );
- add_deprecated( "spu-margin", VLC_FALSE ); /*Deprecated since 0.8.2 */
- set_section( N_( "Overlays" ) , NULL );
- add_module_list_cat( "sub-filter", SUBCAT_VIDEO_SUBPIC, NULL, NULL,
- SUB_FILTER_TEXT, SUB_FILTER_LONGTEXT, VLC_FALSE );
-
-/* Input options */
- set_category( CAT_INPUT );
- set_subcategory( SUBCAT_INPUT_GENERAL );
-
- set_section( N_( "Track settings" ), NULL );
- add_integer( "program", 0, NULL,
- INPUT_PROGRAM_TEXT, INPUT_PROGRAM_LONGTEXT, VLC_TRUE );
- add_string( "programs", "", NULL,
- INPUT_PROGRAMS_TEXT, INPUT_PROGRAMS_LONGTEXT, VLC_TRUE );
- add_integer( "audio-track", -1, NULL,
- INPUT_AUDIOTRACK_TEXT, INPUT_AUDIOTRACK_LONGTEXT, VLC_TRUE );
- add_deprecated( "audio-channel", VLC_FALSE ); /*deprecated since 0.8.2 */
- add_integer( "sub-track", -1, NULL,
- INPUT_SUBTRACK_TEXT, INPUT_SUBTRACK_LONGTEXT, VLC_TRUE );
- add_deprecated("spu-channel",VLC_FALSE); /*deprecated since 0.8.2*/
- add_string( "audio-language", "", NULL,
- INPUT_AUDIOTRACK_LANG_TEXT, INPUT_AUDIOTRACK_LANG_LONGTEXT,
- VLC_FALSE );
- add_string( "sub-language", "", NULL,
- INPUT_SUBTRACK_LANG_TEXT, INPUT_SUBTRACK_LANG_LONGTEXT,
- VLC_FALSE );
- add_integer( "audio-track-id", -1, NULL, INPUT_AUDIOTRACK_ID_TEXT,
- INPUT_AUDIOTRACK_ID_LONGTEXT, VLC_TRUE );
- add_integer( "sub-track-id", -1, NULL,
- INPUT_SUBTRACK_ID_TEXT, INPUT_SUBTRACK_ID_LONGTEXT, VLC_TRUE );
-
- set_section( N_( "Playback control" ) , NULL);
- add_integer( "input-repeat", 0, NULL,
- INPUT_REPEAT_TEXT, INPUT_REPEAT_LONGTEXT, VLC_FALSE );
- add_integer( "start-time", 0, NULL,
- START_TIME_TEXT, START_TIME_LONGTEXT, VLC_TRUE );
- add_integer( "stop-time", 0, NULL,
- STOP_TIME_TEXT, STOP_TIME_LONGTEXT, VLC_TRUE );
- add_string( "input-list", NULL, NULL,
- INPUT_LIST_TEXT, INPUT_LIST_LONGTEXT, VLC_TRUE );
- add_string( "input-slave", NULL, NULL,
- INPUT_SLAVE_TEXT, INPUT_SLAVE_LONGTEXT, VLC_TRUE );
-
- add_string( "bookmarks", NULL, NULL,
- BOOKMARKS_TEXT, BOOKMARKS_LONGTEXT, VLC_TRUE );
-
- set_section( N_( "Default devices") , NULL );
-
- add_file( "dvd", NULL, NULL, DVD_DEV_TEXT, DVD_DEV_LONGTEXT,
- VLC_FALSE );
- add_file( "vcd", VCD_DEVICE, NULL, VCD_DEV_TEXT, VCD_DEV_LONGTEXT,
- VLC_FALSE );
- add_file( "cd-audio", CDAUDIO_DEVICE, NULL, CDAUDIO_DEV_TEXT,
- CDAUDIO_DEV_LONGTEXT, VLC_FALSE );
-
- set_section( N_( "Network settings" ), NULL );
-
- add_integer( "server-port", 1234, NULL,
- SERVER_PORT_TEXT, SERVER_PORT_LONGTEXT, VLC_FALSE );
- add_integer( "mtu", 1500, NULL, MTU_TEXT, MTU_LONGTEXT, VLC_TRUE );
- add_bool( "ipv6", 0, NULL, IPV6_TEXT, IPV6_LONGTEXT, VLC_FALSE );
- change_short('6');
- add_bool( "ipv4", 0, NULL, IPV4_TEXT, IPV4_LONGTEXT, VLC_FALSE );
- change_short('4');
- add_integer( "ipv4-timeout", 5 * 1000, NULL, TIMEOUT_TEXT,
- TIMEOUT_LONGTEXT, VLC_TRUE );
-
- set_section( N_( "Socks proxy") , NULL );
- add_string( "socks", NULL, NULL,
- SOCKS_SERVER_TEXT, SOCKS_SERVER_LONGTEXT, VLC_TRUE );
- add_string( "socks-user", NULL, NULL,
- SOCKS_USER_TEXT, SOCKS_USER_LONGTEXT, VLC_TRUE );
- add_string( "socks-pwd", NULL, NULL,
- SOCKS_PASS_TEXT, SOCKS_PASS_LONGTEXT, VLC_TRUE );
-
-
- set_section( N_("Metadata" ) , NULL );
- add_string( "meta-title", NULL, NULL, META_TITLE_TEXT,
- META_TITLE_LONGTEXT, VLC_TRUE );
- add_string( "meta-author", NULL, NULL, META_AUTHOR_TEXT,
- META_AUTHOR_LONGTEXT, VLC_TRUE );
- add_string( "meta-artist", NULL, NULL, META_ARTIST_TEXT,
- META_ARTIST_LONGTEXT, VLC_TRUE );
- add_string( "meta-genre", NULL, NULL, META_GENRE_TEXT,
- META_GENRE_LONGTEXT, VLC_TRUE );
- add_string( "meta-copyright", NULL, NULL, META_CPYR_TEXT,
- META_CPYR_LONGTEXT, VLC_TRUE );
- add_string( "meta-description", NULL, NULL, META_DESCR_TEXT,
- META_DESCR_LONGTEXT, VLC_TRUE );
- add_string( "meta-date", NULL, NULL, META_DATE_TEXT,
- META_DATE_LONGTEXT, VLC_TRUE );
- add_string( "meta-url", NULL, NULL, META_URL_TEXT,
- META_URL_LONGTEXT, VLC_TRUE );
-
- set_section( N_( "Advanced" ), NULL );
-
- add_integer( "cr-average", 40, NULL, CR_AVERAGE_TEXT,
- CR_AVERAGE_LONGTEXT, VLC_TRUE );
- add_integer( "clock-synchro", -1, NULL, CLOCK_SYNCHRO_TEXT,
- CLOCK_SYNCHRO_LONGTEXT, VLC_TRUE );
- change_integer_list( pi_clock_values, ppsz_clock_descriptions, 0 );
-
- add_bool( "network-synchronisation", VLC_FALSE, NULL, NETSYNC_TEXT,
- NETSYNC_LONGTEXT, VLC_TRUE );
-
-/* Decoder options */
- add_category_hint( N_("Decoders"), CODEC_CAT_LONGTEXT , VLC_TRUE );
- add_string( "codec", NULL, NULL, CODEC_TEXT,
- CODEC_LONGTEXT, VLC_TRUE );
- add_string( "encoder", NULL, NULL, ENCODER_TEXT,
- ENCODER_LONGTEXT, VLC_TRUE );
-
- set_subcategory( SUBCAT_INPUT_ACCESS );
- add_category_hint( N_("Input"), INPUT_CAT_LONGTEXT , VLC_FALSE );
- add_module( "access", "access2", NULL, NULL, ACCESS_TEXT,
- ACCESS_LONGTEXT, VLC_TRUE );
-
- set_subcategory( SUBCAT_INPUT_ACCESS_FILTER );
- add_module_list_cat( "access-filter", SUBCAT_INPUT_ACCESS_FILTER, NULL, NULL,
- ACCESS_FILTER_TEXT, ACCESS_FILTER_LONGTEXT, VLC_FALSE );
-
-
- set_subcategory( SUBCAT_INPUT_DEMUX );
- add_module( "demux", "demux2", NULL, NULL, DEMUX_TEXT,
- DEMUX_LONGTEXT, VLC_TRUE );
- set_subcategory( SUBCAT_INPUT_VCODEC );
- set_subcategory( SUBCAT_INPUT_ACODEC );
- set_subcategory( SUBCAT_INPUT_SCODEC );
-
-
-/* Stream output options */
- set_category( CAT_SOUT );
- set_subcategory( SUBCAT_SOUT_GENERAL );
- add_category_hint( N_("Stream output"), SOUT_CAT_LONGTEXT , VLC_TRUE );
-
- add_string( "sout", NULL, NULL, SOUT_TEXT, SOUT_LONGTEXT, VLC_TRUE );
- add_bool( "sout-display", VLC_FALSE, NULL, SOUT_DISPLAY_TEXT,
- SOUT_DISPLAY_LONGTEXT, VLC_TRUE );
- add_bool( "sout-keep", VLC_FALSE, NULL, SOUT_KEEP_TEXT,
- SOUT_KEEP_LONGTEXT, VLC_TRUE );
- add_bool( "sout-all", 0, NULL, SOUT_ALL_TEXT,
- SOUT_ALL_LONGTEXT, VLC_TRUE );
- add_bool( "sout-audio", 1, NULL, SOUT_AUDIO_TEXT,
- SOUT_AUDIO_LONGTEXT, VLC_TRUE );
- add_bool( "sout-video", 1, NULL, SOUT_VIDEO_TEXT,
- SOUT_VIDEO_LONGTEXT, VLC_TRUE );
- add_bool( "sout-spu", 1, NULL, SOUT_SPU_TEXT,
- SOUT_SPU_LONGTEXT, VLC_TRUE );
-
- set_section( N_("VLM"), NULL );
- add_string( "vlm-conf", NULL, NULL, VLM_CONF_TEXT,
- VLM_CONF_LONGTEXT, VLC_TRUE );
-
-
-
- set_subcategory( SUBCAT_SOUT_STREAM );
- set_subcategory( SUBCAT_SOUT_MUX );
- add_module( "mux", "sout mux", NULL, NULL, MUX_TEXT,
- MUX_LONGTEXT, VLC_TRUE );
- set_subcategory( SUBCAT_SOUT_ACO );
- add_module( "access_output", "sout access", NULL, NULL,
- ACCESS_OUTPUT_TEXT, ACCESS_OUTPUT_LONGTEXT, VLC_TRUE );
- add_integer( "ttl", 0, NULL, TTL_TEXT, TTL_LONGTEXT, VLC_TRUE );
- add_string( "miface", NULL, NULL, MIFACE_TEXT, MIFACE_LONGTEXT, VLC_TRUE );
- add_string( "miface-addr", NULL, NULL, MIFACE_ADDR_TEXT, MIFACE_ADDR_LONGTEXT, VLC_TRUE );
-
- set_subcategory( SUBCAT_SOUT_PACKETIZER );
- add_module( "packetizer","packetizer", NULL, NULL,
- PACKETIZER_TEXT, PACKETIZER_LONGTEXT, VLC_TRUE );
-
- set_subcategory( SUBCAT_SOUT_SAP );
- add_bool( "sap-flow-control", VLC_FALSE, NULL, ANN_SAPCTRL_TEXT,
- ANN_SAPCTRL_LONGTEXT, VLC_TRUE );
- add_integer( "sap-interval", 5, NULL, ANN_SAPINTV_TEXT,
- ANN_SAPINTV_LONGTEXT, VLC_TRUE );
- set_subcategory( SUBCAT_SOUT_VOD );
-
-/* CPU options */
- set_category( CAT_ADVANCED );
- set_subcategory( SUBCAT_ADVANCED_CPU );
- add_category_hint( N_("CPU"), CPU_CAT_LONGTEXT, VLC_TRUE );
- add_bool( "fpu", 1, NULL, FPU_TEXT, FPU_LONGTEXT, VLC_TRUE );
-#if defined( __i386__ ) || defined( __x86_64__ )
- add_bool( "mmx", 1, NULL, MMX_TEXT, MMX_LONGTEXT, VLC_TRUE );
- add_bool( "3dn", 1, NULL, THREE_DN_TEXT, THREE_DN_LONGTEXT, VLC_TRUE );
- add_bool( "mmxext", 1, NULL, MMXEXT_TEXT, MMXEXT_LONGTEXT, VLC_TRUE );
- add_bool( "sse", 1, NULL, SSE_TEXT, SSE_LONGTEXT, VLC_TRUE );
- add_bool( "sse2", 1, NULL, SSE2_TEXT, SSE2_LONGTEXT, VLC_TRUE );
-#endif
-#if defined( __powerpc__ ) || defined( __ppc__ ) || defined( __ppc64__ )
- add_bool( "altivec", 1, NULL, ALTIVEC_TEXT, ALTIVEC_LONGTEXT, VLC_TRUE );
-#endif
-
-/* Misc options */
- set_subcategory( SUBCAT_ADVANCED_MISC );
- set_section( N_("Special modules"), NULL );
- add_category_hint( N_("Miscellaneous"), MISC_CAT_LONGTEXT, VLC_TRUE );
- add_module( "memcpy", "memcpy", NULL, NULL, MEMCPY_TEXT,
- MEMCPY_LONGTEXT, VLC_TRUE );
- change_short('A');
-
- set_section( N_("Plugins" ), NULL );
- add_bool( "plugins-cache", VLC_TRUE, NULL, PLUGINS_CACHE_TEXT,
- PLUGINS_CACHE_LONGTEXT, VLC_TRUE );
- add_directory( "plugin-path", NULL, NULL, PLUGIN_PATH_TEXT,
- PLUGIN_PATH_LONGTEXT, VLC_TRUE );
-
- set_section( N_("Performance options"), NULL );
- add_bool( "minimize-threads", 0, NULL, MINIMIZE_THREADS_TEXT,
- MINIMIZE_THREADS_LONGTEXT, VLC_TRUE );
-
-#if !defined(__APPLE__) && !defined(SYS_BEOS) && defined(PTHREAD_COND_T_IN_PTHREAD_H)
- add_bool( "rt-priority", VLC_FALSE, NULL, RT_PRIORITY_TEXT,
- RT_PRIORITY_LONGTEXT, VLC_TRUE );
-#endif
-
-#if !defined(SYS_BEOS) && defined(PTHREAD_COND_T_IN_PTHREAD_H)
- add_integer( "rt-offset", 0, NULL, RT_OFFSET_TEXT,
- RT_OFFSET_LONGTEXT, VLC_TRUE );
-#endif
-
-#if defined(WIN32)
- add_bool( "one-instance", 0, NULL, ONEINSTANCE_TEXT,
- ONEINSTANCE_LONGTEXT, VLC_TRUE );
- add_bool( "started-from-file", 0, NULL, STARTEDFROMFILE_TEXT,
- STARTEDFROMFILE_LONGTEXT, VLC_TRUE );
- add_bool( "one-instance-when-started-from-file", 1, NULL,
- ONEINSTANCEWHENSTARTEDFROMFILE_TEXT,
- ONEINSTANCEWHENSTARTEDFROMFILE_LONGTEXT, VLC_TRUE );
- add_bool( "playlist-enqueue", 0, NULL, PLAYLISTENQUEUE_TEXT,
- PLAYLISTENQUEUE_LONGTEXT, VLC_TRUE );
- add_bool( "high-priority", 0, NULL, HPRIORITY_TEXT,
- HPRIORITY_LONGTEXT, VLC_FALSE );
- add_bool( "fast-mutex", 0, NULL, FAST_MUTEX_TEXT,
- FAST_MUTEX_LONGTEXT, VLC_TRUE );
- add_integer( "win9x-cv-method", 1, NULL, WIN9X_CV_TEXT,
- WIN9X_CV_LONGTEXT, VLC_TRUE );
-#endif
-
-/* Playlist options */
- set_category( CAT_PLAYLIST );
- set_subcategory( SUBCAT_PLAYLIST_GENERAL );
- add_category_hint( N_("Playlist"), PLAYLIST_CAT_LONGTEXT , VLC_FALSE );
- add_bool( "random", 0, NULL, RANDOM_TEXT, RANDOM_LONGTEXT, VLC_FALSE );
- change_short('Z');
- add_bool( "loop", 0, NULL, LOOP_TEXT, LOOP_LONGTEXT, VLC_FALSE );
- change_short('L');
- add_bool( "repeat", 0, NULL, REPEAT_TEXT, REPEAT_LONGTEXT, VLC_FALSE );
- change_short('R');
- add_bool( "play-and-stop", 0, NULL, PAS_TEXT, PAS_LONGTEXT, VLC_FALSE );
- add_bool( "media-library", 1, NULL, ML_TEXT, ML_LONGTEXT, VLC_FALSE );
- add_integer( "playlist-tree", 0, NULL, PLTREE_TEXT, PLTREE_LONGTEXT,
- VLC_TRUE );
- change_integer_list( pi_pltree_values, ppsz_pltree_descriptions, 0 );
-
- add_string( "open", "", NULL, OPEN_TEXT, OPEN_LONGTEXT, VLC_FALSE );
-
- add_bool( "auto-preparse", VLC_TRUE, NULL, PREPARSE_TEXT,
- PREPARSE_LONGTEXT, VLC_FALSE );
-
- set_subcategory( SUBCAT_PLAYLIST_SD );
- add_module_list_cat( "services-discovery", SUBCAT_PLAYLIST_SD, NULL,
- NULL, SD_TEXT, SD_LONGTEXT, VLC_FALSE );
- change_short('S');
-
-/* Interface options */
- set_category( CAT_INTERFACE );
- set_subcategory( SUBCAT_INTERFACE_GENERAL );
- add_integer( "verbose", 0, NULL, VERBOSE_TEXT, VERBOSE_LONGTEXT,
- VLC_FALSE );
- change_short('v');
- add_bool( "quiet", 0, NULL, QUIET_TEXT, QUIET_LONGTEXT, VLC_TRUE );
- change_short('q');