Changeset 906b68fe0317ff981addd5e9bfe4a5fc5efde6c3
- Timestamp:
- 12/16/04 17:35:12
(4 years ago)
- Author:
- Clément Stenac <zorglub@videolan.org>
- git-committer:
- Clément Stenac <zorglub@videolan.org> 1103214912 +0000
- git-parent:
[798c883b4d3d72314d2eed451f3873a7354bb01d]
- git-author:
- Clément Stenac <zorglub@videolan.org> 1103214912 +0000
- Message:
Fix a bug with preferences
Added some more names
Use shortname to store the name
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| ra90a19a |
r906b68f |
|
| 85 | 85 | */ |
|---|
| 86 | 86 | char *psz_shortname; /* Module name */ |
|---|
| 87 | | char *psz_name; /* Human-readable shortname */ |
|---|
| 88 | 87 | char *psz_longname; /* Module descriptive name */ |
|---|
| 89 | 88 | |
|---|
| ra90a19a |
r906b68f |
|
| 100 | 100 | p_module->b_reentrant = VLC_TRUE; \ |
|---|
| 101 | 101 | p_module->psz_object_name = MODULE_STRING; \ |
|---|
| 102 | | p_module->psz_shortname = MODULE_STRING; \ |
|---|
| 103 | | p_module->psz_name = NULL; \ |
|---|
| | 102 | p_module->psz_shortname = NULL; \ |
|---|
| 104 | 103 | p_module->psz_longname = MODULE_STRING; \ |
|---|
| 105 | 104 | p_module->pp_shortcuts[ 0 ] = MODULE_STRING; \ |
|---|
| … | … | |
| 164 | 163 | p_submodule->psz_shortname = desc |
|---|
| 165 | 164 | |
|---|
| 166 | | #define set_name( desc ) \ |
|---|
| 167 | | p_submodule->psz_name = desc |
|---|
| 168 | | |
|---|
| 169 | 165 | #define set_description( desc ) \ |
|---|
| 170 | 166 | p_submodule->psz_longname = desc |
|---|
| r51ec22f |
r906b68f |
|
| 99 | 99 | set_description( _("Compact Disc Digital Audio (CD-DA) input") ); |
|---|
| 100 | 100 | set_capability( "access2", 10 /* compare with priority of cdda */ ); |
|---|
| | 101 | set_shortname( N_("Audio CD")); |
|---|
| 101 | 102 | set_callbacks( E_(CDDAOpen), E_(CDDAClose) ); |
|---|
| 102 | 103 | add_shortcut( "cddax" ); |
|---|
| ra90a19a |
r906b68f |
|
| 61 | 61 | vlc_module_begin(); |
|---|
| 62 | 62 | set_description( _("Screen Input") ); |
|---|
| | 63 | set_shortname( N_("Screen" )); |
|---|
| 63 | 64 | set_category( CAT_INPUT ); |
|---|
| 64 | 65 | set_subcategory( SUBCAT_INPUT_ACCESS ); |
|---|
| ra90a19a |
r906b68f |
|
| 39 | 39 | vlc_module_begin(); |
|---|
| 40 | 40 | set_description( _("Dummy stream output") ); |
|---|
| | 41 | set_shortname( N_( "Dummy" )); |
|---|
| 41 | 42 | set_capability( "sout access", 0 ); |
|---|
| 42 | 43 | set_category( CAT_SOUT ); |
|---|
| ra90a19a |
r906b68f |
|
| 66 | 66 | vlc_module_begin(); |
|---|
| 67 | 67 | set_description( _("File stream output") ); |
|---|
| | 68 | set_shortname( N_("File" )); |
|---|
| 68 | 69 | set_capability( "sout access", 50 ); |
|---|
| 69 | 70 | set_category( CAT_SOUT ); |
|---|
| ra90a19a |
r906b68f |
|
| 75 | 75 | set_description( _("HTTP stream output") ); |
|---|
| 76 | 76 | set_capability( "sout access", 0 ); |
|---|
| | 77 | set_shortname( N_("HTTP" ) ); |
|---|
| 77 | 78 | add_shortcut( "http" ); |
|---|
| 78 | 79 | add_shortcut( "https" ); |
|---|
| ra90a19a |
r906b68f |
|
| 88 | 88 | vlc_module_begin(); |
|---|
| 89 | 89 | set_description( _("UDP stream output") ); |
|---|
| | 90 | set_shortname( N_( "UDP" ) ); |
|---|
| 90 | 91 | set_category( CAT_SOUT ); |
|---|
| 91 | 92 | set_subcategory( SUBCAT_SOUT_ACO ); |
|---|
| ra90a19a |
r906b68f |
|
| 64 | 64 | vlc_module_begin(); |
|---|
| 65 | 65 | set_description( _("Equalizer 10 bands") ); |
|---|
| | 66 | set_shortname( N_("Equalizer" ) ); |
|---|
| 66 | 67 | set_capability( "audio filter", 0 ); |
|---|
| 67 | 68 | set_category( CAT_AUDIO ); |
|---|
| ra90a19a |
r906b68f |
|
| 81 | 81 | vlc_module_begin(); |
|---|
| 82 | 82 | set_description( _("Volume normalizer") ); |
|---|
| | 83 | set_shortname( N_("Volume normalizer") ); |
|---|
| 83 | 84 | set_category( CAT_AUDIO ); |
|---|
| 84 | 85 | set_subcategory( SUBCAT_AUDIO_AFILTER ); |
|---|
| r799d80c |
r906b68f |
|
| 132 | 132 | |
|---|
| 133 | 133 | int i_object_id; |
|---|
| | 134 | int i_subcat_id; |
|---|
| 134 | 135 | int i_type; |
|---|
| 135 | 136 | char *psz_name; |
|---|
| … | … | |
| 303 | 304 | PrefsDialog *_p_prefs_dialog, |
|---|
| 304 | 305 | wxBoxSizer *_p_sizer ) |
|---|
| 305 | | : wxTreeCtrl( _p_parent, PrefsTree_Ctrl, wxDefaultPosition, wxDefaultSize, |
|---|
| | 306 | : wxTreeCtrl( _p_parent, PrefsTree_Ctrl, wxDefaultPosition, wxSize(200,-1), |
|---|
| 306 | 307 | wxTR_NO_LINES | wxTR_FULL_ROW_HIGHLIGHT | |
|---|
| 307 | 308 | wxTR_LINES_AT_ROOT | wxTR_HIDE_ROOT | |
|---|
| … | … | |
| 377 | 378 | GetItemData( current_item ); |
|---|
| 378 | 379 | cd->i_type = TYPE_CATSUBCAT; |
|---|
| 379 | | cd->i_object_id = p_item->i_value; |
|---|
| | 380 | cd->i_subcat_id = p_item->i_value; |
|---|
| 380 | 381 | if( cd->psz_name ) free( cd->psz_name ); |
|---|
| 381 | 382 | cd->psz_name = strdup( config_CategoryNameGet( |
|---|
| … | … | |
| 444 | 445 | p_item = p_module->p_config; |
|---|
| 445 | 446 | |
|---|
| | 447 | |
|---|
| 446 | 448 | if( !p_item ) continue; |
|---|
| 447 | 449 | do |
|---|
| … | … | |
| 513 | 515 | config_data->psz_help = NULL; |
|---|
| 514 | 516 | |
|---|
| 515 | | AppendItem( subcategory_item, wxU( p_module->psz_name ? |
|---|
| 516 | | p_module->psz_name : p_module->psz_object_name) |
|---|
| 517 | | , -1, -1, |
|---|
| | 517 | AppendItem( subcategory_item, wxU( p_module->psz_shortname ? |
|---|
| | 518 | p_module->psz_shortname : p_module->psz_object_name ) |
|---|
| | 519 | , -1, -1, |
|---|
| 518 | 520 | config_data ); |
|---|
| 519 | 521 | } |
|---|
| … | … | |
| 830 | 832 | { |
|---|
| 831 | 833 | if( p_item->i_type == CONFIG_SUBCATEGORY && |
|---|
| 832 | | p_item->i_value == config_data->i_object_id ) |
|---|
| | 834 | ( config_data->i_type == TYPE_SUBCATEGORY && |
|---|
| | 835 | p_item->i_value == config_data->i_object_id ) || |
|---|
| | 836 | ( config_data->i_type == TYPE_CATSUBCAT && |
|---|
| | 837 | p_item->i_value == config_data->i_subcat_id ) ) |
|---|
| 833 | 838 | { |
|---|
| 834 | 839 | break; |
|---|
| … | … | |
| 871 | 876 | { |
|---|
| 872 | 877 | /* If a category has been specified, check we finished the job */ |
|---|
| 873 | | if( (config_data->i_type == TYPE_SUBCATEGORY || |
|---|
| 874 | | config_data->i_type == TYPE_CATSUBCAT ) && |
|---|
| | 878 | if( ( ( config_data->i_type == TYPE_SUBCATEGORY && |
|---|
| | 879 | p_item->i_value != config_data->i_object_id ) || |
|---|
| | 880 | ( config_data->i_type == TYPE_CATSUBCAT && |
|---|
| | 881 | p_item->i_value != config_data->i_subcat_id ) ) && |
|---|
| 875 | 882 | (p_item->i_type == CONFIG_CATEGORY || |
|---|
| 876 | | p_item->i_type == CONFIG_SUBCATEGORY ) && |
|---|
| 877 | | p_item->i_value != config_data->i_object_id ) |
|---|
| | 883 | p_item->i_type == CONFIG_SUBCATEGORY ) ) |
|---|
| 878 | 884 | break; |
|---|
| 879 | 885 | |
|---|
| rd5308d3 |
r906b68f |
|
| 46 | 46 | #define HOST_TEXT N_( "Host address" ) |
|---|
| 47 | 47 | #define HOST_LONGTEXT N_( \ |
|---|
| 48 | | "You can set the address, port and path the rtsp interface will bind to." ) |
|---|
| 49 | | |
|---|
| | 48 | "You can set the address, port and path the rtsp interface will bind to." \ |
|---|
| | 49 | ".\n Syntax is address:port/path. Default is to bind to localhost address"\ |
|---|
| | 50 | "on port 554, with no path. Use 0.0.0.0 to bind to all addresses." ) |
|---|
| 50 | 51 | vlc_module_begin(); |
|---|
| | 52 | set_shortname( _("RTSP VoD" ) ); |
|---|
| 51 | 53 | set_description( _("RTSP VoD server") ); |
|---|
| 52 | 54 | set_category( CAT_SOUT ); |
|---|
| ra90a19a |
r906b68f |
|
| 72 | 72 | vlc_module_begin(); |
|---|
| 73 | 73 | set_description( _("Image properties filter") ); |
|---|
| | 74 | set_shortname( N_("Image adjust" )); |
|---|
| 74 | 75 | set_category( CAT_VIDEO ); |
|---|
| 75 | 76 | set_subcategory( SUBCAT_VIDEO_VFILTER ); |
|---|
| ra90a19a |
r906b68f |
|
| 63 | 63 | set_description( _("Clone video filter") ); |
|---|
| 64 | 64 | set_capability( "video filter", 0 ); |
|---|
| | 65 | set_shortname( N_("Clone" )); |
|---|
| 65 | 66 | set_category( CAT_VIDEO ); |
|---|
| 66 | 67 | set_subcategory( SUBCAT_VIDEO_VFILTER ); |
|---|
| … | … | |
| 68 | 69 | add_integer( "clone-count", 2, NULL, COUNT_TEXT, COUNT_LONGTEXT, VLC_FALSE ); |
|---|
| 69 | 70 | add_string ( "clone-vout-list", NULL, NULL, VOUTLIST_TEXT, VOUTLIST_LONGTEXT, VLC_FALSE ); |
|---|
| 70 | | |
|---|
| | 71 | |
|---|
| 71 | 72 | add_shortcut( "clone" ); |
|---|
| 72 | 73 | set_callbacks( Create, Destroy ); |
|---|
| ra90a19a |
r906b68f |
|
| 60 | 60 | vlc_module_begin(); |
|---|
| 61 | 61 | set_description( _("Crop video filter") ); |
|---|
| | 62 | set_shortname( N_("Crop" )); |
|---|
| 62 | 63 | set_category( CAT_VIDEO ); |
|---|
| 63 | 64 | set_subcategory( SUBCAT_VIDEO_VFILTER ); |
|---|
| ra90a19a |
r906b68f |
|
| 65 | 65 | vlc_module_begin(); |
|---|
| 66 | 66 | set_description( _("Distort video filter") ); |
|---|
| | 67 | set_shortname( N_( "Distortion" )); |
|---|
| 67 | 68 | set_capability( "video filter", 0 ); |
|---|
| 68 | 69 | set_category( CAT_VIDEO ); |
|---|
| ra90a19a |
r906b68f |
|
| 51 | 51 | vlc_module_begin(); |
|---|
| 52 | 52 | set_description( _("Invert video filter") ); |
|---|
| | 53 | set_shortname( N_("Color inversion" )); |
|---|
| 53 | 54 | set_category( CAT_VIDEO ); |
|---|
| 54 | 55 | set_subcategory( SUBCAT_VIDEO_VFILTER ); |
|---|
| ra90a19a |
r906b68f |
|
| 85 | 85 | set_description( _("Logo video filter") ); |
|---|
| 86 | 86 | set_capability( "video filter", 0 ); |
|---|
| | 87 | set_shortname( N_("Logo overlay") ); |
|---|
| 87 | 88 | set_category( CAT_VIDEO ); |
|---|
| 88 | 89 | set_subcategory( SUBCAT_VIDEO_VFILTER ); |
|---|
- Property mode changed from 100755 to 100644
| ra90a19a |
r906b68f |
|
| 78 | 78 | vlc_module_begin(); |
|---|
| 79 | 79 | set_capability( "sub filter", 0 ); |
|---|
| | 80 | set_shortname( N_("Marquee" )); |
|---|
| 80 | 81 | set_callbacks( CreateFilter, DestroyFilter ); |
|---|
| 81 | 82 | set_category( CAT_VIDEO ); |
|---|
| ra90a19a |
r906b68f |
|
| 65 | 65 | vlc_module_begin(); |
|---|
| 66 | 66 | set_capability( "sub filter", 0 ); |
|---|
| | 67 | set_shortname( N_("Time overlay")); |
|---|
| 67 | 68 | set_category( CAT_VIDEO ); |
|---|
| 68 | 69 | set_subcategory( SUBCAT_VIDEO_SUBPIC ); |
|---|
| ra90a19a |
r906b68f |
|
| 65 | 65 | vlc_module_begin(); |
|---|
| 66 | 66 | set_description( _("Video transformation filter") ); |
|---|
| | 67 | set_shortname( N_("Transformation")); |
|---|
| 67 | 68 | set_capability( "video filter", 0 ); |
|---|
| 68 | 69 | set_category( CAT_VIDEO ); |
|---|
| ra90a19a |
r906b68f |
|
| 65 | 65 | vlc_module_begin(); |
|---|
| 66 | 66 | set_description( _("wall video filter") ); |
|---|
| | 67 | set_shortname( N_("Image wall" )); |
|---|
| 67 | 68 | set_capability( "video filter", 0 ); |
|---|
| 68 | 69 | set_category( CAT_VIDEO ); |
|---|
| r5ca0ebc |
r906b68f |
|
| 2 | 2 | * fft.c: Iterative implementation of a FFT |
|---|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | | * $Id: fft.c,v 1.3 2003/12/22 14:32:56 sam Exp $ |
|---|
| | 4 | * $Id$ |
|---|
| 5 | 5 | * |
|---|
| 6 | 6 | * Mainly taken from XMMS's code |
|---|
| rd5bbc63 |
r906b68f |
|
| 2 | 2 | * fft.h: Headers for iterative implementation of a FFT |
|---|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | | * $Id: fft.h,v 1.2 2003/10/24 17:43:51 sam Exp $ |
|---|
| | 4 | * $Id$ |
|---|
| 5 | 5 | * |
|---|
| 6 | 6 | * Mainly taken from XMMS's code |
|---|
| r3bc30b8 |
r906b68f |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2002 VideoLAN |
|---|
| 5 | | * $Id: visual.h,v 1.5 2003/09/20 00:37:53 fenrir Exp $ |
|---|
| | 5 | * $Id$ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Cl�nt Stenac <zorglub@via.ecp.fr> |
|---|
| rf046e3c |
r906b68f |
|
| 1129 | 1129 | p_module->psz_object_name = strdup( p_module->psz_object_name ); |
|---|
| 1130 | 1130 | p_module->psz_capability = strdup( p_module->psz_capability ); |
|---|
| 1131 | | p_module->psz_shortname = strdup( p_module->psz_shortname ); |
|---|
| | 1131 | p_module->psz_shortname = p_module->psz_shortname ? |
|---|
| | 1132 | strdup( p_module->psz_shortname ) : NULL; |
|---|
| 1132 | 1133 | p_module->psz_longname = strdup( p_module->psz_longname ); |
|---|
| 1133 | 1134 | |
|---|