From 7e6c0e335bf97d58c806746e7c0becf6b1c1b49d Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Fri, 5 Mar 2004 18:30:50 +0000 Subject: [PATCH] * include/modules.h: increased numbers of shorcuts * modules/demux/demux2.c: added all audio demuxer shortcuts. --- include/modules.h | 4 ++-- modules/demux/demux2.c | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/include/modules.h b/include/modules.h index c26746d7a8..7df939cc7e 100644 --- a/include/modules.h +++ b/include/modules.h @@ -2,7 +2,7 @@ * modules.h : Module management functions. ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: modules.h,v 1.66 2004/03/03 20:39:51 gbazin Exp $ + * $Id$ * * Authors: Samuel Hocevar * @@ -27,7 +27,7 @@ /* Number of tries before we unload an unused module */ #define MODULE_HIDE_DELAY 50 -#define MODULE_SHORTCUT_MAX 10 +#define MODULE_SHORTCUT_MAX 20 /* The module handle type. */ #if defined(HAVE_DL_DYLD) diff --git a/modules/demux/demux2.c b/modules/demux/demux2.c index 87f09ab5a1..555e5c2dc5 100644 --- a/modules/demux/demux2.c +++ b/modules/demux/demux2.c @@ -2,7 +2,7 @@ * demux2 adaptation layer. ***************************************************************************** * Copyright (C) 2004 VideoLAN - * $Id: demux2.c,v 1.10 2004/01/30 01:38:53 fenrir Exp $ + * $Id$ * * Authors: Laurent Aimar * @@ -50,6 +50,13 @@ vlc_module_begin(); add_shortcut( "dvdnav" ); add_shortcut( "dvdnavsimple" ); add_shortcut( "ffmpeg" ); + add_shortcut( "mp3" ); + add_shortcut( "mpga" ); + add_shortcut( "aac" ); + add_shortcut( "a52" ); + add_shortcut( "dts" ); + add_shortcut( "mod" ); + add_shortcut( "flac" ); vlc_module_end(); /***************************************************************************** -- 2.39.5