* Variables set by the module to identify itself
*/
char *psz_shortname; /* Module name */
- char *psz_name; /* Human-readable shortname */
char *psz_longname; /* Module descriptive name */
/*
p_module->b_unloadable = VLC_TRUE; \
p_module->b_reentrant = VLC_TRUE; \
p_module->psz_object_name = MODULE_STRING; \
- p_module->psz_shortname = MODULE_STRING; \
- p_module->psz_name = NULL; \
+ p_module->psz_shortname = NULL; \
p_module->psz_longname = MODULE_STRING; \
p_module->pp_shortcuts[ 0 ] = MODULE_STRING; \
p_module->i_cpu = 0; \
#define set_shortname( desc ) \
p_submodule->psz_shortname = desc
-#define set_name( desc ) \
- p_submodule->psz_name = desc
-
#define set_description( desc ) \
p_submodule->psz_longname = desc
add_usage_hint( N_("cddax://[device-or-file][@[T]track]") );
set_description( _("Compact Disc Digital Audio (CD-DA) input") );
set_capability( "access2", 10 /* compare with priority of cdda */ );
+ set_shortname( N_("Audio CD"));
set_callbacks( E_(CDDAOpen), E_(CDDAClose) );
add_shortcut( "cddax" );
add_shortcut( "cd" );
vlc_module_begin();
set_description( _("Screen Input") );
+ set_shortname( N_("Screen" ));
set_category( CAT_INPUT );
set_subcategory( SUBCAT_INPUT_ACCESS );
vlc_module_begin();
set_description( _("Dummy stream output") );
+ set_shortname( N_( "Dummy" ));
set_capability( "sout access", 0 );
set_category( CAT_SOUT );
set_subcategory( SUBCAT_SOUT_ACO );
vlc_module_begin();
set_description( _("File stream output") );
+ set_shortname( N_("File" ));
set_capability( "sout access", 50 );
set_category( CAT_SOUT );
set_subcategory( SUBCAT_SOUT_ACO );
vlc_module_begin();
set_description( _("HTTP stream output") );
set_capability( "sout access", 0 );
+ set_shortname( N_("HTTP" ) );
add_shortcut( "http" );
add_shortcut( "https" );
add_shortcut( "mmsh" );
vlc_module_begin();
set_description( _("UDP stream output") );
+ set_shortname( N_( "UDP" ) );
set_category( CAT_SOUT );
set_subcategory( SUBCAT_SOUT_ACO );
add_integer( SOUT_CFG_PREFIX "caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
vlc_module_begin();
set_description( _("Equalizer 10 bands") );
+ set_shortname( N_("Equalizer" ) );
set_capability( "audio filter", 0 );
set_category( CAT_AUDIO );
set_subcategory( SUBCAT_AUDIO_AFILTER );
vlc_module_begin();
set_description( _("Volume normalizer") );
+ set_shortname( N_("Volume normalizer") );
set_category( CAT_AUDIO );
set_subcategory( SUBCAT_AUDIO_AFILTER );
add_shortcut( "volnorm" );
wxBoxSizer *sizer;
int i_object_id;
+ int i_subcat_id;
int i_type;
char *psz_name;
char *psz_help;
PrefsTreeCtrl::PrefsTreeCtrl( wxWindow *_p_parent, intf_thread_t *_p_intf,
PrefsDialog *_p_prefs_dialog,
wxBoxSizer *_p_sizer )
- : wxTreeCtrl( _p_parent, PrefsTree_Ctrl, wxDefaultPosition, wxDefaultSize,
+ : wxTreeCtrl( _p_parent, PrefsTree_Ctrl, wxDefaultPosition, wxSize(200,-1),
wxTR_NO_LINES | wxTR_FULL_ROW_HIGHLIGHT |
wxTR_LINES_AT_ROOT | wxTR_HIDE_ROOT |
wxTR_HAS_BUTTONS | wxTR_TWIST_BUTTONS | wxSUNKEN_BORDER )
ConfigTreeData *cd = (ConfigTreeData *)
GetItemData( current_item );
cd->i_type = TYPE_CATSUBCAT;
- cd->i_object_id = p_item->i_value;
+ cd->i_subcat_id = p_item->i_value;
if( cd->psz_name ) free( cd->psz_name );
cd->psz_name = strdup( config_CategoryNameGet(
p_item->i_value ) );
else
p_item = p_module->p_config;
+
if( !p_item ) continue;
do
{
p_module->i_object_id;
config_data->psz_help = NULL;
- AppendItem( subcategory_item, wxU( p_module->psz_name ?
- p_module->psz_name : p_module->psz_object_name)
- , -1, -1,
+ AppendItem( subcategory_item, wxU( p_module->psz_shortname ?
+ p_module->psz_shortname : p_module->psz_object_name )
+ , -1, -1,
config_data );
}
do
{
if( p_item->i_type == CONFIG_SUBCATEGORY &&
- p_item->i_value == config_data->i_object_id )
+ ( config_data->i_type == TYPE_SUBCATEGORY &&
+ p_item->i_value == config_data->i_object_id ) ||
+ ( config_data->i_type == TYPE_CATSUBCAT &&
+ p_item->i_value == config_data->i_subcat_id ) )
{
break;
}
if( p_item ) do
{
/* If a category has been specified, check we finished the job */
- if( (config_data->i_type == TYPE_SUBCATEGORY ||
- config_data->i_type == TYPE_CATSUBCAT ) &&
+ if( ( ( config_data->i_type == TYPE_SUBCATEGORY &&
+ p_item->i_value != config_data->i_object_id ) ||
+ ( config_data->i_type == TYPE_CATSUBCAT &&
+ p_item->i_value != config_data->i_subcat_id ) ) &&
(p_item->i_type == CONFIG_CATEGORY ||
- p_item->i_type == CONFIG_SUBCATEGORY ) &&
- p_item->i_value != config_data->i_object_id )
+ p_item->i_type == CONFIG_SUBCATEGORY ) )
break;
ConfigControl *control =
#define HOST_TEXT N_( "Host address" )
#define HOST_LONGTEXT N_( \
- "You can set the address, port and path the rtsp interface will bind to." )
-
+ "You can set the address, port and path the rtsp interface will bind to." \
+ ".\n Syntax is address:port/path. Default is to bind to localhost address"\
+ "on port 554, with no path. Use 0.0.0.0 to bind to all addresses." )
vlc_module_begin();
+ set_shortname( _("RTSP VoD" ) );
set_description( _("RTSP VoD server") );
set_category( CAT_SOUT );
set_subcategory( SUBCAT_SOUT_VOD );
vlc_module_begin();
set_description( _("Image properties filter") );
+ set_shortname( N_("Image adjust" ));
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
set_capability( "video filter", 0 );
vlc_module_begin();
set_description( _("Clone video filter") );
set_capability( "video filter", 0 );
+ set_shortname( N_("Clone" ));
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
add_integer( "clone-count", 2, NULL, COUNT_TEXT, COUNT_LONGTEXT, VLC_FALSE );
add_string ( "clone-vout-list", NULL, NULL, VOUTLIST_TEXT, VOUTLIST_LONGTEXT, VLC_FALSE );
-
+
add_shortcut( "clone" );
set_callbacks( Create, Destroy );
vlc_module_end();
vlc_module_begin();
set_description( _("Crop video filter") );
+ set_shortname( N_("Crop" ));
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
set_capability( "video filter", 0 );
vlc_module_begin();
set_description( _("Distort video filter") );
+ set_shortname( N_( "Distortion" ));
set_capability( "video filter", 0 );
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
*****************************************************************************/
vlc_module_begin();
set_description( _("Invert video filter") );
+ set_shortname( N_("Color inversion" ));
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
set_capability( "video filter", 0 );
vlc_module_begin();
set_description( _("Logo video filter") );
set_capability( "video filter", 0 );
+ set_shortname( N_("Logo overlay") );
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
add_shortcut( "logo" );
*****************************************************************************/
vlc_module_begin();
set_capability( "sub filter", 0 );
+ set_shortname( N_("Marquee" ));
set_callbacks( CreateFilter, DestroyFilter );
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_SUBPIC );
*****************************************************************************/
vlc_module_begin();
set_capability( "sub filter", 0 );
+ set_shortname( N_("Time overlay"));
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_SUBPIC );
set_callbacks( CreateFilter, DestroyFilter );
vlc_module_begin();
set_description( _("Video transformation filter") );
+ set_shortname( N_("Transformation"));
set_capability( "video filter", 0 );
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
vlc_module_begin();
set_description( _("wall video filter") );
+ set_shortname( N_("Image wall" ));
set_capability( "video filter", 0 );
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
/*****************************************************************************
* fft.c: Iterative implementation of a FFT
*****************************************************************************
- * $Id: fft.c,v 1.3 2003/12/22 14:32:56 sam Exp $
+ * $Id$
*
* Mainly taken from XMMS's code
*
/*****************************************************************************
* fft.h: Headers for iterative implementation of a FFT
*****************************************************************************
- * $Id: fft.h,v 1.2 2003/10/24 17:43:51 sam Exp $
+ * $Id$
*
* Mainly taken from XMMS's code
*
* visual.h : Header for the visualisation system
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: visual.h,v 1.5 2003/09/20 00:37:53 fenrir Exp $
+ * $Id$
*
* Authors: Clément Stenac <zorglub@via.ecp.fr>
*
* module is unloaded. */
p_module->psz_object_name = strdup( p_module->psz_object_name );
p_module->psz_capability = strdup( p_module->psz_capability );
- p_module->psz_shortname = strdup( p_module->psz_shortname );
+ p_module->psz_shortname = p_module->psz_shortname ?
+ strdup( p_module->psz_shortname ) : NULL;
p_module->psz_longname = strdup( p_module->psz_longname );
if( p_module->psz_program != NULL )