From 5480fa452dc4b6fa6e4b0bfedcddd78d57f861ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Cl=C3=A9ment=20Stenac?= Date: Tue, 28 Dec 2004 20:29:28 +0000 Subject: [PATCH] * Do not search a visualizer in strict mode * Fix --help with module lists --- src/audio_output/input.c | 4 ++-- src/libvlc.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/audio_output/input.c b/src/audio_output/input.c index 59c653cc00..1cd117d75d 100644 --- a/src/audio_output/input.c +++ b/src/audio_output/input.c @@ -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)", diff --git a/src/libvlc.c b/src/libvlc.c index c28ed67502..2f6fe50944 100644 --- a/src/libvlc.c +++ b/src/libvlc.c @@ -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 = ">"; -- 2.39.2