Changeset 2e3847698a715d877bf4506f4d100ba927ca0696
- Timestamp:
- 03/10/05 14:05:43 (3 years ago)
- git-parent:
- Files:
-
- include/vlc_config_cat.h (modified) (1 diff)
- modules/audio_filter/equalizer.c (modified) (1 diff)
- modules/video_output/directx/glwin32.c (modified) (1 diff)
- modules/video_output/image.c (modified) (1 diff)
- modules/video_output/picture.c (modified) (1 diff)
- modules/video_output/x11/glx.c (modified) (1 diff)
- modules/visualization/visual/visual.c (modified) (1 diff)
- src/audio_output/intf.c (modified) (4 diffs)
- src/libvlc.h (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
include/vlc_config_cat.h
ref235f2 r2e38476 176 176 177 177 #define CPU_TITLE N_( "CPU features" ) 178 #define CPU_HELP N_( "From here you can choose to disable some CPU accele arations. You should probably not touch that." )178 #define CPU_HELP N_( "From here you can choose to disable some CPU accelerations. You should probably not touch that." ) 179 179 180 180 #define MISC_TITLE N_( "Other" ) modules/audio_filter/equalizer.c
r906b68f r2e38476 70 70 71 71 add_string( "equalizer-preset", "flat", NULL, PRESET_TEXT, 72 PRESET_LONGTEXT, VLC_ TRUE );72 PRESET_LONGTEXT, VLC_FALSE ); 73 73 change_string_list( preset_list, preset_list_text, 0 ); 74 74 add_string( "equalizer-bands", NULL, NULL, BANDS_TEXT, modules/video_output/directx/glwin32.c
r3d831e0 r2e38476 62 62 set_category( CAT_VIDEO ); 63 63 set_subcategory( SUBCAT_VIDEO_VOUT ); 64 set_description( _("Win32 OpenGL provider") ); 64 set_shortname( _("OpenGL" ) ); 65 set_description( _("OpenGL video output") ); 65 66 set_capability( "opengl provider", 100 ); 66 67 add_shortcut( "glwin32" ); modules/video_output/image.c
r61ddfd1 r2e38476 61 61 62 62 vlc_module_begin( ); 63 set_shortname( _( "Image " ) );63 set_shortname( _( "Image file" ) ); 64 64 set_description( _( "Image video output" ) ); 65 65 set_category( CAT_VIDEO ); modules/video_output/picture.c
rae42e9e r2e38476 106 106 set_shortname( _( "Picture" ) ); 107 107 set_description(_("VLC internal picture video output") ); 108 set_category( CAT_VIDEO );109 set_subcategory( SUBCAT_VIDEO_VOUT );110 108 set_capability( "video output", 0 ); 111 109 modules/video_output/x11/glx.c
rd5eacbe r2e38476 113 113 set_category( CAT_VIDEO ); 114 114 set_subcategory( SUBCAT_VIDEO_VOUT ); 115 set_description( _(" X11 OpenGL provider") );115 set_description( _("OpenGL video output") ); 116 116 set_capability( "opengl provider", 50 ); 117 117 set_callbacks( CreateOpenGL, DestroyOpenGL ); modules/visualization/visual/visual.c
r3f6f97f r2e38476 86 86 set_section( N_("Spectrum analyser") , NULL ); 87 87 add_integer("visual-nbbands", 80, NULL, 88 NBBANDS_TEXT, NBBANDS_LONGTEXT, VLC_ FALSE );88 NBBANDS_TEXT, NBBANDS_LONGTEXT, VLC_TRUE ); 89 89 add_integer("visual-separ", 1, NULL, 90 SEPAR_TEXT, SEPAR_LONGTEXT, VLC_ FALSE );90 SEPAR_TEXT, SEPAR_LONGTEXT, VLC_TRUE ); 91 91 add_integer("visual-amp", 3, NULL, 92 AMP_TEXT, AMP_LONGTEXT, VLC_ FALSE );92 AMP_TEXT, AMP_LONGTEXT, VLC_TRUE ); 93 93 add_bool("visual-peaks", VLC_TRUE, NULL, 94 PEAKS_TEXT, PEAKS_LONGTEXT, VLC_ FALSE );94 PEAKS_TEXT, PEAKS_LONGTEXT, VLC_TRUE ); 95 95 set_section( N_( "Random effect") , NULL ); 96 96 add_integer("visual-stars", 200, NULL, 97 STARS_TEXT, STARS_LONGTEXT, VLC_ FALSE );97 STARS_TEXT, STARS_LONGTEXT, VLC_TRUE ); 98 98 set_capability( "visualization", 0 ); 99 99 set_callbacks( Open, Close ); src/audio_output/intf.c
r86f50fe r2e38476 145 145 } 146 146 config_PutInt( p_object, "volume", i ); 147 config_PutInt( p_object, "saved-volume", i ); 147 var_Create( p_object->p_libvlc, "saved-volume", VLC_VAR_INTEGER ); 148 var_SetInteger( p_object->p_libvlc, "saved-volume" , i ); 148 149 if ( pi_volume != NULL ) *pi_volume = (audio_volume_t)i; 149 150 … … 181 182 } 182 183 config_PutInt( p_object, "volume", i ); 183 config_PutInt( p_object, "saved-volume", i ); 184 var_Create( p_object->p_libvlc, "saved-volume", VLC_VAR_INTEGER ); 185 var_SetInteger( p_object->p_libvlc, "saved-volume", i ); 184 186 if ( pi_volume != NULL ) *pi_volume = (audio_volume_t)i; 185 187 … … 213 215 /* Mute */ 214 216 i_result = aout_VolumeSet( p_object, AOUT_VOLUME_MIN ); 215 config_PutInt( p_object, "saved-volume", (int)i_volume ); 217 var_Create( p_object->p_libvlc, "saved-volume", VLC_VAR_INTEGER ); 218 var_SetInteger( p_object->p_libvlc, "saved-volume", (int)i_volume ); 216 219 if ( pi_volume != NULL ) *pi_volume = AOUT_VOLUME_MIN; 217 220 } … … 219 222 { 220 223 /* Un-mute */ 221 i_volume = (audio_volume_t)config_GetInt( p_object, "saved-volume" ); 224 var_Create( p_object->p_libvlc, "saved-volume", VLC_VAR_INTEGER ); 225 i_volume = (audio_volume_t)var_GetInteger( p_object->p_libvlc, 226 "saved-volume" ); 222 227 i_result = aout_VolumeSet( p_object, i_volume ); 223 228 if ( pi_volume != NULL ) *pi_volume = i_volume; src/libvlc.h
ref235f2 r2e38476 527 527 "stream output subsystem." ) 528 528 529 #define SOUT_TEXT N_(" Choose a stream output")529 #define SOUT_TEXT N_("Default stream output chain") 530 530 #define SOUT_LONGTEXT N_( \ 531 "Empty if no stream output.") 531 "You can enter here a default stream output chain. Refer to "\ 532 "the documentation to learn how to build such chains." \ 533 "Warning: this chain will be enabled for all streams." ) 532 534 533 535 #define SOUT_ALL_TEXT N_("Enable streaming of all ES") … … 625 627 "interrupted.") 626 628 627 #define LOOP_TEXT N_(" Loop playlist on end")629 #define LOOP_TEXT N_("Repeat all") 628 630 #define LOOP_LONGTEXT N_( \ 629 631 "If you want VLC to keep playing the playlist indefinitely then enable " \ 630 632 "this option.") 631 633 632 #define REPEAT_TEXT N_("Repeat thecurrent item")634 #define REPEAT_TEXT N_("Repeat current item") 633 635 #define REPEAT_LONGTEXT N_( \ 634 636 "When this is active, VLC will keep playing the current playlist item " \ … … 637 639 #define PAS_TEXT N_("Play and stop") 638 640 #define PAS_LONGTEXT N_( \ 639 "Stop the playlist after each played playlist item. " \ 640 "Does advance the playlist index.") 641 "Stop the playlist after each played playlist item. " ) 641 642 642 643 #define MISC_CAT_LONGTEXT N_( \ … … 876 877 AOUT_VOLUME_MAX, NULL, VOLUME_TEXT, 877 878 VOLUME_LONGTEXT, VLC_FALSE ); 878 add_integer_with_range( "saved-volume", AOUT_VOLUME_DEFAULT,879 AOUT_VOLUME_MIN, AOUT_VOLUME_MAX, NULL,880 VOLUME_SAVE_TEXT, VOLUME_SAVE_LONGTEXT, VLC_TRUE );881 879 add_integer( "aout-rate", -1, NULL, AOUT_RATE_TEXT, 882 880 AOUT_RATE_LONGTEXT, VLC_TRUE ); … … 898 896 add_module( "audio-visual", "visualization",NULL, NULL,AUDIO_VISUAL_TEXT, 899 897 AUDIO_VISUAL_LONGTEXT, VLC_FALSE ); 900 set_subcategory( SUBCAT_AUDIO_MISC );901 add_module_cat( "audio-channel-mixer", SUBCAT_AUDIO_MISC, NULL, NULL,902 AUDIO_CHANNEL_MIXER, AUDIO_CHANNEL_MIXER_LONGTEXT, VLC_FALSE );903 change_short('A');904 898 905 899 /* Video options */ … … 907 901 set_subcategory( SUBCAT_VIDEO_GENERAL ); 908 902 add_bool( "video", 1, NULL, VIDEO_TEXT, VIDEO_LONGTEXT, VLC_TRUE ); 903 add_bool( "grayscale", 0, NULL, GRAYSCALE_TEXT, 904 GRAYSCALE_LONGTEXT, VLC_FALSE ); 905 add_bool( "fullscreen", 0, NULL, FULLSCREEN_TEXT, 906 FULLSCREEN_LONGTEXT, VLC_FALSE ); 907 change_short('f'); 908 add_bool( "skip-frames", 1, NULL, SKIP_FRAMES_TEXT, 909 SKIP_FRAMES_LONGTEXT, VLC_TRUE ); 910 #ifndef SYS_DARWIN 911 add_bool( "overlay", 1, NULL, OVERLAY_TEXT, OVERLAY_LONGTEXT, VLC_TRUE ); 912 #endif 913 add_bool( "video-on-top", 0, NULL, VIDEO_ON_TOP_TEXT, 914 VIDEO_ON_TOP_LONGTEXT, VLC_FALSE ); 915 916 set_section( N_("Snapshot") , NULL ); 917 add_directory( "snapshot-path", NULL, NULL, SNAP_PATH_TEXT, 918 SNAP_PATH_LONGTEXT, VLC_FALSE ); 919 add_string( "snapshot-format", "png", NULL, SNAP_FORMAT_TEXT, 920 SNAP_FORMAT_LONGTEXT, VLC_TRUE ); 921 change_string_list( ppsz_snap_formats, NULL, 0 ); 922 923 set_section( N_("Window properties" ), NULL ); 909 924 add_integer( "width", -1, NULL, WIDTH_TEXT, WIDTH_LONGTEXT, VLC_TRUE ); 910 925 add_integer( "height", -1, NULL, HEIGHT_TEXT, HEIGHT_LONGTEXT, VLC_TRUE ); 911 926 add_integer( "video-x", -1, NULL, VIDEOX_TEXT, VIDEOX_LONGTEXT, VLC_TRUE ); 912 927 add_integer( "video-y", -1, NULL, VIDEOY_TEXT, VIDEOY_LONGTEXT, VLC_TRUE ); 928 add_string( "aspect-ratio", "", NULL, 929 ASPECT_RATIO_TEXT, ASPECT_RATIO_LONGTEXT, VLC_TRUE ); 913 930 add_bool( "video-deco", 1, NULL, VIDEO_DECO_TEXT, 914 931 VIDEO_DECO_LONGTEXT, VLC_TRUE ); … … 918 935 change_integer_list( pi_align_values, ppsz_align_descriptions, 0 ); 919 936 add_float( "zoom", 1, NULL, ZOOM_TEXT, ZOOM_LONGTEXT, VLC_TRUE ); 920 add_bool( "grayscale", 0, NULL, GRAYSCALE_TEXT, 921 GRAYSCALE_LONGTEXT, VLC_TRUE ); 922 add_bool( "fullscreen", 0, NULL, FULLSCREEN_TEXT, 923 FULLSCREEN_LONGTEXT, VLC_FALSE ); 924 change_short('f'); 925 add_bool( "skip-frames", 1, NULL, SKIP_FRAMES_TEXT, 926 SKIP_FRAMES_LONGTEXT, VLC_FALSE ); 927 #ifndef SYS_DARWIN 928 add_bool( "overlay", 1, NULL, OVERLAY_TEXT, OVERLAY_LONGTEXT, VLC_TRUE ); 929 #endif 930 add_bool( "video-on-top", 0, NULL, VIDEO_ON_TOP_TEXT, 931 VIDEO_ON_TOP_LONGTEXT, VLC_FALSE ); 932 add_string( "aspect-ratio", "", NULL, 933 ASPECT_RATIO_TEXT, ASPECT_RATIO_LONGTEXT, VLC_TRUE ); 934 add_directory( "snapshot-path", NULL, NULL, SNAP_PATH_TEXT, 935 SNAP_PATH_LONGTEXT, VLC_FALSE ); 936 add_string( "snapshot-format", "png", NULL, SNAP_FORMAT_TEXT, 937 SNAP_FORMAT_LONGTEXT, VLC_FALSE ); 938 change_string_list( ppsz_snap_formats, NULL, 0 ); 937 939 938 940 939 set_subcategory( SUBCAT_VIDEO_VOUT ); … … 957 956 958 957 set_section( N_("Subtitles") , NULL ); 958 add_file( "sub-file", NULL, NULL, SUB_FILE_TEXT, 959 SUB_FILE_LONGTEXT, VLC_FALSE ); 959 960 add_bool( "sub-autodetect-file", VLC_TRUE, NULL, 960 961 SUB_AUTO_TEXT, SUB_AUTO_LONGTEXT, VLC_FALSE ); … … 968 969 add_string( "sub-autodetect-path", SUB_PATH, NULL, 969 970 SUB_PATH_TEXT, SUB_PATH_LONGTEXT, VLC_TRUE ); 970 add_file( "sub-file", NULL, NULL, SUB_FILE_TEXT,971 SUB_FILE_LONGTEXT, VLC_TRUE );972 971 add_integer( "sub-margin", -1, NULL, SUB_MARGIN_TEXT, 973 972 SUB_MARGIN_LONGTEXT, VLC_TRUE ); … … 976 975 add_module_list_cat( "sub-filter", SUBCAT_VIDEO_SUBPIC, NULL, NULL, 977 976 SUB_FILTER_TEXT, SUB_FILTER_LONGTEXT, VLC_TRUE ); 978 979 // set_subcategory( SUBCAT_VIDEO_TEXT );980 977 981 978 /* Input options */ … … 1137 1134 /* Misc options */ 1138 1135 set_subcategory( SUBCAT_ADVANCED_MISC ); 1136 set_section( N_("Special modules"), NULL ); 1139 1137 add_module( "memcpy", "memcpy", NULL, NULL, MEMCPY_TEXT, 1140 1138 MEMCPY_LONGTEXT, VLC_TRUE ); 1141 add_bool( "minimize-threads", 0, NULL, MINIMIZE_THREADS_TEXT, 1142 MINIMIZE_THREADS_LONGTEXT, VLC_TRUE ); 1139 add_module( "audio-channel-mixer", "audio mixer", NULL, NULL, 1140 AUDIO_CHANNEL_MIXER, AUDIO_CHANNEL_MIXER_LONGTEXT, VLC_TRUE ); 1141 change_short('A'); 1142 1143 set_section( N_("Plugins" ), NULL ); 1143 1144 add_bool( "plugins-cache", VLC_TRUE, NULL, PLUGINS_CACHE_TEXT, 1144 1145 PLUGINS_CACHE_LONGTEXT, VLC_TRUE ); 1145 1146 add_directory( "plugin-path", NULL, NULL, PLUGIN_PATH_TEXT, 1146 1147 PLUGIN_PATH_LONGTEXT, VLC_TRUE ); 1147 add_string( "vlm-conf", NULL, NULL, VLM_CONF_TEXT, 1148 VLM_CONF_LONGTEXT, VLC_TRUE ); 1149 1150 #if !defined(WIN32) 1151 add_bool( "daemon", 0, NULL, DAEMON_TEXT, DAEMON_LONGTEXT, VLC_TRUE ); 1152 change_short('d'); 1153 #endif 1148 1149 set_section( N_("Performance options"), NULL ); 1150 add_bool( "minimize-threads", 0, NULL, MINIMIZE_THREADS_TEXT, 1151 MINIMIZE_THREADS_LONGTEXT, VLC_TRUE ); 1154 1152 1155 1153 #if !defined(SYS_DARWIN) && !defined(SYS_BEOS) && defined(PTHREAD_COND_T_IN_PTHREAD_H) … … 1174 1172 #endif 1175 1173 1174 set_section( N_("Miscellaneous" ), NULL ); 1175 add_string( "vlm-conf", NULL, NULL, VLM_CONF_TEXT, 1176 VLM_CONF_LONGTEXT, VLC_TRUE ); 1177 1178 #if !defined(WIN32) 1179 add_bool( "daemon", 0, NULL, DAEMON_TEXT, DAEMON_LONGTEXT, VLC_TRUE ); 1180 change_short('d'); 1181 #endif 1182 1176 1183 /* Playlist options */ 1177 1184 set_category( CAT_PLAYLIST ); … … 1182 1189 add_bool( "loop", 0, NULL, LOOP_TEXT, LOOP_LONGTEXT, VLC_FALSE ); 1183 1190 change_short('L'); 1184 add_bool( "repeat", 0, NULL, REPEAT_TEXT, REPEAT_LONGTEXT, VLC_ TRUE );1191 add_bool( "repeat", 0, NULL, REPEAT_TEXT, REPEAT_LONGTEXT, VLC_FALSE ); 1185 1192 change_short('R'); 1186 add_bool( "play-and-stop", 0, NULL, PAS_TEXT, PAS_LONGTEXT, VLC_ TRUE );1193 add_bool( "play-and-stop", 0, NULL, PAS_TEXT, PAS_LONGTEXT, VLC_FALSE ); 1187 1194 1188 1195 set_subcategory( SUBCAT_PLAYLIST_SD );
