Commit a1e81377 authored by gbazin's avatar gbazin
Browse files

* modules/*: sanitization of the modules description strings.
parent 5d2949dc
......@@ -2,7 +2,7 @@
* directory.c: expands a directory (directory: access plug-in)
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: directory.c,v 1.3 2003/03/24 17:15:29 gbazin Exp $
* $Id: directory.c,v 1.4 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
*
......@@ -79,7 +79,7 @@ static ssize_t Read ( input_thread_t *, byte_t *, size_t );
*****************************************************************************/
vlc_module_begin();
set_description( _("Standard filesystem directory reading") );
set_description( _("Standard filesystem directory input") );
set_capability( "access", 55 );
add_shortcut( "directory" );
add_shortcut( "dir" );
......
......@@ -2,7 +2,7 @@
* dvd.c : DVD input module for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: dvd.c,v 1.5 2003/02/20 01:52:45 sigmunau Exp $
* $Id: dvd.c,v 1.6 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -88,13 +88,14 @@ vlc_module_begin();
add_string_from_list( "dvdcss-method", NULL, cssmethod_list, NULL,
CSSMETHOD_TEXT, CSSMETHOD_LONGTEXT, VLC_TRUE );
#ifdef GOD_DAMN_DMCA
set_description( _("DVD input module, uses libdvdcss if installed") );
set_description( _("DVD input (uses libdvdcss if installed)") );
i = 90;
#else
set_description( _("DVD input module, uses libdvdcss") );
set_description( _("DVD input (uses libdvdcss)") );
i = 100;
#endif
add_shortcut( "dvdold" );
add_shortcut( "dvdsimple" );
add_submodule();
set_capability( "access", i );
set_callbacks( E_(DVDOpen), E_(DVDClose) );
......
......@@ -7,7 +7,7 @@
*****************************************************************************
*
* Copyright (C) 2001 VideoLAN
* $Id: dvd.c,v 1.4 2003/03/30 11:54:29 sigmunau Exp $
* $Id: dvd.c,v 1.5 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -49,7 +49,7 @@ void E_(CloseIntf) ( vlc_object_t * );
*****************************************************************************/
vlc_module_begin();
add_usage_hint( N_("[dvdplay:][device][@[title][,[chapter][,angle]]]") );
set_description( _("dvdplay input module") );
set_description( _("DVD input with menus support") );
add_submodule();
set_capability( "access", 120 );
set_callbacks( E_(OpenDVD), E_(CloseDVD) );
......
......@@ -2,7 +2,7 @@
* dvdread.c : DvdRead input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: dvdread.c,v 1.5 2003/03/29 13:15:33 sigmunau Exp $
* $Id: dvdread.c,v 1.6 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -42,7 +42,7 @@ void E_(EndDVD) ( vlc_object_t * );
* Module descriptor
*****************************************************************************/
vlc_module_begin();
set_description( _("DVDRead input module") );
set_description( _("DVD input (using libdvdread)") );
add_submodule();
set_capability( "access", 110 );
set_callbacks( E_(OpenDVD), E_(CloseDVD) );
......
......@@ -2,7 +2,7 @@
* file.c: file input (file: access plug-in)
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: file.c,v 1.14 2003/03/24 17:15:29 gbazin Exp $
* $Id: file.c,v 1.15 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -72,7 +72,7 @@ static ssize_t Read ( input_thread_t *, byte_t *, size_t );
"value should be set in miliseconds units." )
vlc_module_begin();
set_description( _("Standard filesystem file reading") );
set_description( _("Standard filesystem file input") );
add_category_hint( N_("file"), NULL, VLC_TRUE );
add_integer( "file-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
set_capability( "access", 50 );
......
......@@ -2,7 +2,7 @@
* ftp.c:
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: ftp.c,v 1.13 2003/03/24 23:04:07 gbazin Exp $
* $Id: ftp.c,v 1.14 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......@@ -89,7 +89,7 @@ static int ftp_StopStream ( input_thread_t *);
"value should be set in miliseconds units." )
vlc_module_begin();
set_description( _("ftp access module") );
set_description( _("FTP input") );
set_capability( "access", 0 );
add_category_hint( "stream", NULL, VLC_FALSE );
add_integer( "ftp-caching", 2 * DEFAULT_PTS_DELAY / 1000, NULL,
......
......@@ -2,7 +2,7 @@
* http.c: HTTP access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: http.c,v 1.31 2003/03/24 23:04:07 gbazin Exp $
* $Id: http.c,v 1.32 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -86,7 +86,7 @@ vlc_module_begin();
add_category_hint( N_("http"), NULL, VLC_FALSE );
add_string( "http-proxy", NULL, NULL, PROXY_TEXT, PROXY_LONGTEXT, VLC_FALSE );
add_integer( "http-caching", 4 * DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
set_description( _("HTTP access module") );
set_description( _("HTTP input") );
set_capability( "access", 0 );
add_shortcut( "http" );
add_shortcut( "http4" );
......
......@@ -2,7 +2,7 @@
* mms.c: MMS access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: mms.c,v 1.30 2003/03/24 20:00:51 gbazin Exp $
* $Id: mms.c,v 1.31 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
......@@ -132,7 +132,7 @@ static void mms_ParseURL( url_t *p_url, char *psz_url );
"value should be set in miliseconds units." )
vlc_module_begin();
set_description( _("MMS access module") );
set_description( _("Microsoft Media Server (MMS) input") );
set_capability( "access", 0 );
add_category_hint( "stream", NULL, VLC_TRUE );
add_integer( "mms-caching", 4 * DEFAULT_PTS_DELAY / 1000, NULL,
......
......@@ -78,7 +78,7 @@ vlc_module_begin();
LNB_LOF2_TEXT, LNB_LOF2_LONGTEXT, VLC_FALSE );
add_integer( "lnb-slof", 11700, NULL,
LNB_SLOF_TEXT, LNB_SLOF_LONGTEXT, VLC_FALSE );
set_description( _("satellite input module") );
set_description( _("satellite input") );
set_capability( "access", 0 );
add_shortcut( "sat" );
set_callbacks( E_(Open), E_(Close) );
......
......@@ -2,7 +2,7 @@
* slp.c: SLP access plugin
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: slp.c,v 1.9 2003/03/24 17:15:29 gbazin Exp $
* $Id: slp.c,v 1.10 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Loc Minier <lool@videolan.org>
*
......@@ -75,7 +75,7 @@ static int Demux ( input_thread_t * );
"default locale; it is used in all SLP queries"
vlc_module_begin();
set_description( _("SLP access module") );
set_description( _("SLP input") );
add_category_hint( N_("slp"), NULL, VLC_TRUE );
add_string( "slp-attrids", "", NULL, ATTRIDS_TEXT, ATTRIDS_LONGTEXT, VLC_TRUE );
add_string( "slp-scopelist", "", NULL, SCOPELIST_TEXT,
......
......@@ -2,7 +2,7 @@
* udp.c: raw UDP & RTP access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: udp.c,v 1.18 2003/03/24 20:00:51 gbazin Exp $
* $Id: udp.c,v 1.19 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Tristan Leteurtre <tooney@via.ecp.fr>
......@@ -75,7 +75,7 @@ static ssize_t RTPChoose( input_thread_t *, byte_t *, size_t );
"value should be set in miliseconds units." )
vlc_module_begin();
set_description( _("raw UDP access module") );
set_description( _("UDP/RTP input") );
add_category_hint( N_("udp"), NULL , VLC_TRUE );
add_integer( "udp-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
set_capability( "access", 0 );
......
......@@ -2,7 +2,7 @@
* v4l.c : Video4Linux input module for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: v4l.c,v 1.3 2003/03/24 17:15:30 gbazin Exp $
* $Id: v4l.c,v 1.4 2003/03/30 18:14:36 gbazin Exp $
*
* Author: Samuel Hocevar <sam@zoy.org>
*
......@@ -42,7 +42,7 @@ static int V4lRead ( input_thread_t *, byte_t *, size_t );
* Module descriptior
*****************************************************************************/
vlc_module_begin();
set_description( _("Video4Linux input module") );
set_description( _("Video4Linux input") );
set_capability( "access", 80 );
set_callbacks( V4lOpen, V4lClose );
vlc_module_end();
......
......@@ -2,7 +2,7 @@
* vcd.c : VCD input module for vlc
*****************************************************************************
* Copyright (C) 2000 VideoLAN
* $Id: vcd.c,v 1.17 2003/03/24 17:15:30 gbazin Exp $
* $Id: vcd.c,v 1.18 2003/03/30 18:14:36 gbazin Exp $
*
* Author: Johan Bilien <jobi@via.ecp.fr>
*
......@@ -76,7 +76,7 @@ static int VCDEntryPoints ( input_thread_t * );
* Module descriptior
*****************************************************************************/
vlc_module_begin();
set_description( _("VCD input module") );
set_description( _("VCD input") );
set_capability( "access", 80 );
set_callbacks( VCDOpen, VCDClose );
add_shortcut( "svcd" );
......
......@@ -4,7 +4,7 @@
* (http://liba52.sf.net/).
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: a52tofloat32.c,v 1.14 2003/02/24 17:06:21 jlj Exp $
* $Id: a52tofloat32.c,v 1.15 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
* Christophe Massiot <massiot@via.ecp.fr>
......@@ -84,7 +84,7 @@ struct aout_filter_sys_t
vlc_module_begin();
add_category_hint( N_("Miscellaneous"), NULL, VLC_FALSE );
add_bool( "a52-dynrng", 1, NULL, DYNRNG_TEXT, DYNRNG_LONGTEXT, VLC_FALSE );
set_description( _("ATSC A/52 aka AC-3 audio decoder module") );
set_description( _("ATSC A/52 aka AC-3 audio decoder") );
set_capability( "audio filter", 100 );
set_callbacks( Create, Destroy );
vlc_module_end();
......
......@@ -3,7 +3,7 @@
* using MAD (MPEG Audio Decoder)
*****************************************************************************
* Copyright (C) 2001 by Jean-Paul Saman
* $Id: mpgatofixed32.c,v 1.7 2003/02/21 16:31:37 hartman Exp $
* $Id: mpgatofixed32.c,v 1.8 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Jean-Paul Saman <jpsaman@wxs.nl>
......@@ -58,7 +58,7 @@ struct aout_filter_sys_t
*****************************************************************************/
vlc_module_begin();
add_category_hint( N_("Miscellaneous"), NULL, VLC_TRUE );
set_description( _("MPEG audio decoder module") );
set_description( _("MPEG audio decoder") );
set_capability( "audio filter", 100 );
set_callbacks( Create, Destroy );
vlc_module_end();
......
......@@ -2,7 +2,7 @@
* float32.c : precise float32 audio mixer implementation
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: float32.c,v 1.8 2002/11/20 16:43:33 sam Exp $
* $Id: float32.c,v 1.9 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -42,7 +42,7 @@ static void DoWork ( aout_instance_t *, aout_buffer_t * );
* Module descriptor
*****************************************************************************/
vlc_module_begin();
set_description( _("float32 audio mixer module") );
set_description( _("float32 audio mixer") );
set_capability( "audio mixer", 10 );
set_callbacks( Create, NULL );
vlc_module_end();
......
......@@ -2,7 +2,7 @@
* spdif.c : dummy mixer for S/PDIF output (1 input only)
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: spdif.c,v 1.8 2002/11/20 16:43:33 sam Exp $
* $Id: spdif.c,v 1.9 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -42,7 +42,7 @@ static void DoWork ( aout_instance_t *, aout_buffer_t * );
* Module descriptor
*****************************************************************************/
vlc_module_begin();
set_description( _("dummy spdif audio mixer module") );
set_description( _("dummy spdif audio mixer") );
set_capability( "audio mixer", 1 );
set_callbacks( Create, NULL );
vlc_module_end();
......
......@@ -2,7 +2,7 @@
* trivial.c : trivial mixer plug-in (1 input, no downmixing)
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: trivial.c,v 1.11 2002/11/20 16:43:33 sam Exp $
* $Id: trivial.c,v 1.12 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -42,7 +42,7 @@ static void DoWork ( aout_instance_t *, aout_buffer_t * );
* Module descriptor
*****************************************************************************/
vlc_module_begin();
set_description( _("trivial audio mixer module") );
set_description( _("trivial audio mixer") );
set_capability( "audio mixer", 1 );
set_callbacks( Create, NULL );
vlc_module_end();
......
......@@ -2,7 +2,7 @@
* alsa.c : alsa plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: alsa.c,v 1.24 2003/02/20 16:07:38 gbazin Exp $
* $Id: alsa.c,v 1.25 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Henri Fallon <henri@videolan.org> - Original Author
* Jeffrey Baker <jwbaker@acm.org> - Port to ALSA 1.0 API
......@@ -91,7 +91,7 @@ vlc_module_begin();
add_category_hint( N_("ALSA"), NULL, VLC_FALSE );
add_string( "alsadev", DEFAULT_ALSA_DEVICE, aout_FindAndRestart,
N_("ALSA device name"), NULL, VLC_FALSE );
set_description( _("ALSA audio module") );
set_description( _("ALSA audio output") );
set_capability( "audio output", 50 );
set_callbacks( Open, Close );
vlc_module_end();
......
......@@ -2,7 +2,7 @@
* arts.c : aRts module
*****************************************************************************
* Copyright (C) 2001-2002 VideoLAN
* $Id: arts.c,v 1.17 2003/01/29 09:54:45 sam Exp $
* $Id: arts.c,v 1.18 2003/03/30 18:14:36 gbazin Exp $
*
* Authors: Emmanuel Blindauer <manu@agat.net>
* Samuel Hocevar <sam@zoy.org>
......@@ -63,7 +63,7 @@ static void Play ( aout_instance_t * );
* Module descriptor
*****************************************************************************/
vlc_module_begin();
set_description( _("aRts audio module") );
set_description( _("aRts audio output") );
set_capability( "audio output", 50 );
set_callbacks( Open, Close );
vlc_module_end();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment