/*****************************************************************************
- * libvlc.h: Options for the main (libvlc itself) module
+ * libvlc-module.c: Options for the main (libvlc itself) module
*****************************************************************************
- * Copyright (C) 1998-2006 the VideoLAN team
+ * Copyright (C) 1998-2009 the VideoLAN team
* $Id$
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
"ka",
"de",
"he",
+ "hr",
"hu",
"id",
"it",
"ja",
"ko",
+ "lt",
+ "mn",
"ms",
+ "kk",
"km",
"oc",
"fa",
"sv",
"tr",
"uk",
+ "vi",
};
static const char *const ppsz_language_text[] =
"ქართული",
"Deutsch",
"עברית",
+ "hrvatski",
"Magyar",
"Bahasa Indonesia",
"Italiano",
"日本語",
"한국어",
+ "lietuvių",
+ "Монгол хэл",
"Melayu",
+ "Қазақ тілі",
"ភាសាខ្មែរ",
"Occitan",
"ﻑﺍﺮﺳی",
"Svenska",
"Türkçe",
"украї́нська мо́ва",
+ "tiếng Việt",
};
#endif
"show all available options, including those that most users should " \
"never touch.")
-#define SHOWINTF_TEXT N_("Show interface with mouse")
-#define SHOWINTF_LONGTEXT N_( \
- "When this is enabled, the interface is shown when you move the mouse to "\
- "the edge of the screen in fullscreen mode." )
-
#define INTERACTION_TEXT N_("Interface interaction")
#define INTERACTION_LONGTEXT N_( \
"When this is enabled, the interface will show a dialog box each time " \
"Hide mouse cursor and fullscreen controller after " \
"n milliseconds, default is 3000 ms (3 sec.)")
+#define DEINTERLACE_TEXT N_("Deinterlace mode")
+#define DEINTERLACE_LONGTEXT N_( \
+ "Deinterlace method to use for video processing.")
+static const char * const ppsz_deinterlace[] = {
+ "", "discard", "blend", "mean", "bob",
+ "linear", "x", "yadif", "yadif2x"
+};
+static const char * const ppsz_deinterlace_text[] = {
+ N_("Disable"), N_("Discard"), N_("Blend"), N_("Mean"), N_("Bob"),
+ N_("Linear"), "X", "Yadif", "Yadif (2x)"
+};
+
static const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 };
static const char *const ppsz_pos_descriptions[] =
{ N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"),
#define CUSTOM_CROP_RATIOS_TEXT N_("Custom crop ratios list")
#define CUSTOM_CROP_RATIOS_LONGTEXT N_( \
- "Comma seperated list of crop ratios which will be added in the " \
+ "Comma separated list of crop ratios which will be added in the " \
"interface's crop ratios list.")
#define CUSTOM_ASPECT_RATIOS_TEXT N_("Custom aspect ratios list")
#define CUSTOM_ASPECT_RATIOS_LONGTEXT N_( \
- "Comma seperated list of aspect ratios which will be added in the " \
+ "Comma separated list of aspect ratios which will be added in the " \
"interface's aspect ratio list.")
#define HDTV_FIX_TEXT N_("Fix HDTV height")
#define MIFACE_ADDR_TEXT N_("IPv4 multicast output interface address")
#define MIFACE_ADDR_LONGTEXT N_( \
- "IPv4 adress for the default multicast interface. This overrides " \
+ "IPv4 address for the default multicast interface. This overrides " \
"the routing table.")
#define DSCP_TEXT N_("DiffServ Code Point")
"If your processor supports the SSE2 instructions set, VLC can take " \
"advantage of them.")
+#define SSE3_TEXT N_("Enable CPU SSE3 support")
+#define SSE3_LONGTEXT N_( \
+ "If your processor supports the SSE3 instructions set, VLC can take " \
+ "advantage of them.")
+
+
#define ALTIVEC_TEXT N_("Enable CPU AltiVec support")
#define ALTIVEC_LONGTEXT N_( \
"If your processor supports the AltiVec instructions set, VLC can take " \
#define PLUGINS_CACHE_LONGTEXT N_( \
"Use a plugins cache which will greatly improve the startup time of VLC.")
-#define STATS_TEXT N_("Collect statistics")
+#define STATS_TEXT N_("Locally collect statistics")
#define STATS_LONGTEXT N_( \
- "Collect miscellaneous statistics.")
+ "Collect miscellaneous local statistics about the playing media.")
#define DAEMON_TEXT N_("Run as daemon process")
#define DAEMON_LONGTEXT N_( \
#define PAE_TEXT N_("Play and exit")
#define PAE_LONGTEXT N_( \
- "Exit if there are no more items in the playlist." )
+ "Exit if there are no more items in the playlist." )
+
+#define PAP_TEXT N_("Play and pause")
+#define PAP_LONGTEXT N_( \
+ "Pause each item in the playlist on the last frame." )
#define ML_TEXT N_("Use media library")
#define ML_LONGTEXT N_( \
add_bool( "quiet-synchro", 0, NULL, QUIET_SYNCHRO_TEXT,
QUIET_SYNCHRO_LONGTEXT, true )
add_integer( "vout-event", 1, NULL, VOUT_EVENT_TEXT, VOUT_EVENT_LONGTEXT, true )
+ change_safe()
change_integer_list( pi_vout_event_values, ppsz_vout_event_descriptions, NULL )
add_deprecated_alias( "x11-event" ) /* renamed since 1.0.0 */
#ifndef __APPLE__
add_integer( "align", 0, NULL, ALIGN_TEXT, ALIGN_LONGTEXT, true )
change_integer_list( pi_align_values, ppsz_align_descriptions, NULL )
add_float( "zoom", 1, NULL, ZOOM_TEXT, ZOOM_LONGTEXT, true )
-
+ add_string( "deinterlace", "", NULL,
+ DEINTERLACE_TEXT, DEINTERLACE_LONGTEXT, false )
+ change_string_list( ppsz_deinterlace, ppsz_deinterlace_text, 0 )
+ change_safe()
set_subcategory( SUBCAT_VIDEO_VOUT )
add_module( "vout", "video output", NULL, NULL, VOUT_TEXT, VOUT_LONGTEXT,
change_need_restart ()
add_bool( "sse2", 1, NULL, SSE2_TEXT, SSE2_LONGTEXT, true )
change_need_restart ()
+ add_bool( "sse3", 1, NULL, SSE3_TEXT, SSE3_LONGTEXT, true )
+ change_need_restart ()
#endif
#if defined( __powerpc__ ) || defined( __ppc__ ) || defined( __ppc64__ )
add_bool( "altivec", 1, NULL, ALTIVEC_TEXT, ALTIVEC_LONGTEXT, true )
add_bool( "play-and-exit", 0, NULL, PAE_TEXT, PAE_LONGTEXT, false )
add_bool( "play-and-stop", 0, NULL, PAS_TEXT, PAS_LONGTEXT, false )
change_safe()
+ add_bool( "play-and-pause", 0, NULL, PAP_TEXT, PAP_LONGTEXT, true )
+ change_safe()
add_bool( "media-library", 1, NULL, ML_TEXT, ML_LONGTEXT, false )
add_bool( "playlist-tree", 0, NULL, PLTREE_TEXT, PLTREE_LONGTEXT, false )
add_bool( "interact", true, NULL, INTERACTION_TEXT,
INTERACTION_LONGTEXT, false )
- add_bool( "show-intf", false, NULL, SHOWINTF_TEXT, SHOWINTF_LONGTEXT,
- false )
- change_need_restart ()
+ add_obsolete_bool( "show-intf" );
add_bool ( "stats", true, NULL, STATS_TEXT, STATS_LONGTEXT, true )
change_need_restart ()
change_short( 'p' )
change_internal ()
change_unsaveable ()
- add_bool( "ignore-config", false, NULL, IGNORE_CONFIG_TEXT, "", false )
+ add_bool( "ignore-config", true, NULL, IGNORE_CONFIG_TEXT, "", false )
change_internal ()
change_unsaveable ()
add_bool( "save-config", false, NULL, SAVE_CONFIG_TEXT, "",