]> git.sesse.net Git - vlc/commitdiff
* Do not search a visualizer in strict mode
authorClément Stenac <zorglub@videolan.org>
Tue, 28 Dec 2004 20:29:28 +0000 (20:29 +0000)
committerClément Stenac <zorglub@videolan.org>
Tue, 28 Dec 2004 20:29:28 +0000 (20:29 +0000)
* Fix --help with module lists

src/audio_output/input.c
src/libvlc.c

index 59c653cc001a9bb9340575702f9226d256d507e7..1cd117d75d69d0d605745589334b772a22f2895c 100644 (file)
@@ -244,13 +244,13 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input )
                     sizeof(audio_sample_format_t) );
 
             p_filter->p_module =
-                module_Need( p_filter,"audio filter", psz_parser, VLC_TRUE );
+                module_Need( p_filter,"audio filter", psz_parser, VLC_FALSE );
 
             if( p_filter->p_module== NULL )
             {
                 p_filter->p_module =
                     module_Need( p_filter,"visualization", psz_parser,
-                                                           VLC_TRUE );
+                                                           VLC_FALSE );
                 if( p_filter->p_module == NULL )
                 {
                     msg_Err( p_aout, "cannot add user filter %s (skipped)",
index c28ed675028f2ca439106746921fdc3196ccf768..2f6fe5094452140b8859ef7d0b33ce6ef642148e 100644 (file)
@@ -1947,6 +1947,9 @@ static void Usage( vlc_t *p_this, char const *psz_module_name )
             case CONFIG_ITEM_FILE:
             case CONFIG_ITEM_DIRECTORY:
             case CONFIG_ITEM_MODULE: /* We could also have "=<" here */
+            case CONFIG_ITEM_MODULE_CAT:
+            case CONFIG_ITEM_MODULE_LIST:
+            case CONFIG_ITEM_MODULE_LIST_CAT:
                 if( !p_item->ppsz_list )
                 {
                     psz_bra = " <"; psz_type = _("string"); psz_ket = ">";