Commit c4fb5be7 authored by Gildas Bazin's avatar Gildas Bazin

* ALL: removed useless add_category_hint().
parent ffdca9af
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* udp.c * udp.c
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN * Copyright (C) 2001, 2002 VideoLAN
* $Id: udp.c,v 1.18 2004/01/25 17:20:18 kuehne Exp $ * $Id: udp.c,v 1.19 2004/01/25 20:40:59 gbazin Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org> * Eric Petit <titer@videolan.org>
...@@ -73,12 +73,12 @@ static sout_buffer_t *NewUDPPacket( sout_access_out_t *, mtime_t ); ...@@ -73,12 +73,12 @@ static sout_buffer_t *NewUDPPacket( sout_access_out_t *, mtime_t );
#define CACHING_TEXT N_("Caching value (ms)") #define CACHING_TEXT N_("Caching value (ms)")
#define CACHING_LONGTEXT N_( \ #define CACHING_LONGTEXT N_( \
"Allows you to modify the default caching value for udp streams. This " \ "Allows you to modify the default caching value for udp streams. This " \
"value should be set in milliseconds." ) "value should be set in millisecond units." )
vlc_module_begin(); vlc_module_begin();
set_description( _("UDP stream ouput") ); set_description( _("UDP stream ouput") );
add_category_hint( N_("udp stream output"), NULL , VLC_TRUE ); add_integer( "udp-sout-caching", DEFAULT_PTS_DELAY / 1000, NULL,
add_integer( "udp-sout-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE ); CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
set_capability( "sout access", 100 ); set_capability( "sout access", 100 );
add_shortcut( "udp" ); add_shortcut( "udp" );
add_shortcut( "rtp" ); // Will work only with ts muxer add_shortcut( "rtp" ); // Will work only with ts muxer
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* araw.c: Pseudo audio decoder; for raw pcm data * araw.c: Pseudo audio decoder; for raw pcm data
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2003 VideoLAN * Copyright (C) 2001, 2003 VideoLAN
* $Id: araw.c,v 1.27 2003/12/20 16:11:11 gbazin Exp $ * $Id: araw.c,v 1.28 2004/01/25 20:40:59 gbazin Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -39,7 +39,7 @@ static void EncoderClose( vlc_object_t * ); ...@@ -39,7 +39,7 @@ static void EncoderClose( vlc_object_t * );
vlc_module_begin(); vlc_module_begin();
/* audio decoder module */ /* audio decoder module */
set_description( _("Raw/Log Audio decoder") ); set_description( _("Raw/Log Audio decoder") );
set_capability( "decoder", 50 ); set_capability( "decoder", 100 );
set_callbacks( DecoderOpen, DecoderClose ); set_callbacks( DecoderOpen, DecoderClose );
/* audio encoder submodule */ /* audio encoder submodule */
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 ANEVIA * Copyright (C) 2003 ANEVIA
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: dvbsub.c,v 1.8 2004/01/25 19:10:09 bigben Exp $ * $Id: dvbsub.c,v 1.9 2004/01/25 20:40:59 gbazin Exp $
* *
* Authors: Damien LUCAS <damien.lucas@anevia.com> * Authors: Damien LUCAS <damien.lucas@anevia.com>
* Laurent Aimar <fenrir@via.ecp.fr> * Laurent Aimar <fenrir@via.ecp.fr>
...@@ -38,7 +38,6 @@ static int Open ( vlc_object_t *p_this ); ...@@ -38,7 +38,6 @@ static int Open ( vlc_object_t *p_this );
static void Close( vlc_object_t *p_this ); static void Close( vlc_object_t *p_this );
vlc_module_begin(); vlc_module_begin();
add_category_hint( N_("subtitles"), NULL, VLC_TRUE );
set_description( _("DVB subtitles decoder") ); set_description( _("DVB subtitles decoder") );
set_capability( "decoder", 50 ); set_capability( "decoder", 50 );
set_callbacks( Open, Close ); set_callbacks( Open, Close );
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* ffmpeg.c: video decoder using ffmpeg library * ffmpeg.c: video decoder using ffmpeg library
***************************************************************************** *****************************************************************************
* Copyright (C) 1999-2001 VideoLAN * Copyright (C) 1999-2001 VideoLAN
* $Id: ffmpeg.c,v 1.78 2004/01/24 00:47:42 fenrir Exp $ * $Id: ffmpeg.c,v 1.79 2004/01/25 20:40:59 gbazin Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com> * Gildas Bazin <gbazin@netcourrier.com>
...@@ -76,10 +76,9 @@ static void CloseDecoder( vlc_object_t * ); ...@@ -76,10 +76,9 @@ static void CloseDecoder( vlc_object_t * );
vlc_module_begin(); vlc_module_begin();
/* decoder main module */ /* decoder main module */
add_category_hint( N_("ffmpeg"), NULL, VLC_FALSE ); set_description( _("ffmpeg audio/video decoder((MS)MPEG4,SVQ1,H263,WMV,WMA)") );
set_capability( "decoder", 70 ); set_capability( "decoder", 70 );
set_callbacks( OpenDecoder, CloseDecoder ); set_callbacks( OpenDecoder, CloseDecoder );
set_description( _("ffmpeg audio/video decoder((MS)MPEG4,SVQ1,H263,WMV,WMA)") );
add_bool( "ffmpeg-dr", 1, NULL, DR_TEXT, DR_TEXT, VLC_TRUE ); add_bool( "ffmpeg-dr", 1, NULL, DR_TEXT, DR_TEXT, VLC_TRUE );
add_integer ( "ffmpeg-error-resilience", -1, NULL, ERROR_TEXT, add_integer ( "ffmpeg-error-resilience", -1, NULL, ERROR_TEXT,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* subsdec.c : text subtitles decoder * subsdec.c : text subtitles decoder
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * Copyright (C) 2000-2001 VideoLAN
* $Id: subsdec.c,v 1.16 2004/01/25 18:20:12 bigben Exp $ * $Id: subsdec.c,v 1.17 2004/01/25 20:40:59 gbazin Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* Samuel Hocevar <sam@zoy.org> * Samuel Hocevar <sam@zoy.org>
...@@ -101,7 +101,6 @@ vlc_module_begin(); ...@@ -101,7 +101,6 @@ vlc_module_begin();
set_capability( "decoder", 50 ); set_capability( "decoder", 50 );
set_callbacks( OpenDecoder, CloseDecoder ); set_callbacks( OpenDecoder, CloseDecoder );
add_category_hint( N_("Subtitles"), NULL, VLC_FALSE );
add_integer( "subsdec-align", 0, NULL, ALIGN_TEXT, ALIGN_LONGTEXT, add_integer( "subsdec-align", 0, NULL, ALIGN_TEXT, ALIGN_LONGTEXT,
VLC_TRUE ); VLC_TRUE );
change_integer_list( pi_justification, ppsz_justification_text, 0 ); change_integer_list( pi_justification, ppsz_justification_text, 0 );
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* rc.c : remote control stdin/stdout module for vlc * rc.c : remote control stdin/stdout module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2004 VideoLAN * Copyright (C) 2004 VideoLAN
* $Id: rc.c,v 1.42 2004/01/25 16:17:03 anil Exp $ * $Id: rc.c,v 1.43 2004/01/25 20:40:59 gbazin Exp $
* *
* Author: Peter Surda <shurdeek@panorama.sth.ac.at> * Author: Peter Surda <shurdeek@panorama.sth.ac.at>
* *
...@@ -81,12 +81,11 @@ static int AudioConfig ( vlc_object_t *, char const *, ...@@ -81,12 +81,11 @@ static int AudioConfig ( vlc_object_t *, char const *,
#define TTY_LONGTEXT N_("Force the rc module to use stdin as if it was a TTY.") #define TTY_LONGTEXT N_("Force the rc module to use stdin as if it was a TTY.")
vlc_module_begin(); vlc_module_begin();
add_category_hint( N_("Remote control"), NULL, VLC_TRUE ); set_description( _("Remote control interface") );
add_bool( "rc-show-pos", 0, NULL, POS_TEXT, POS_LONGTEXT, VLC_TRUE ); add_bool( "rc-show-pos", 0, NULL, POS_TEXT, POS_LONGTEXT, VLC_TRUE );
#ifdef HAVE_ISATTY #ifdef HAVE_ISATTY
add_bool( "fake-tty", 0, NULL, TTY_TEXT, TTY_LONGTEXT, VLC_TRUE ); add_bool( "fake-tty", 0, NULL, TTY_TEXT, TTY_LONGTEXT, VLC_TRUE );
#endif #endif
set_description( _("Remote control interface") );
set_capability( "interface", 20 ); set_capability( "interface", 20 );
set_callbacks( Activate, NULL ); set_callbacks( Activate, NULL );
vlc_module_end(); vlc_module_end();
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* xosd.c : X On Screen Display interface * xosd.c : X On Screen Display interface
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: xosd.c,v 1.11 2003/06/29 22:07:40 gbazin Exp $ * $Id: xosd.c,v 1.12 2004/01/25 20:40:59 gbazin Exp $
* *
* Authors: Loc Minier <lool@videolan.org> * Authors: Loc Minier <lool@videolan.org>
* *
...@@ -72,14 +72,13 @@ static void Run ( intf_thread_t * ); ...@@ -72,14 +72,13 @@ static void Run ( intf_thread_t * );
#define FONT_LONGTEXT N_("Font used to display text in the xosd output") #define FONT_LONGTEXT N_("Font used to display text in the xosd output")
vlc_module_begin(); vlc_module_begin();
add_category_hint( N_("XOSD module"), NULL, VLC_TRUE ); set_description( _("XOSD interface") );
add_bool( "xosd-position", 1, NULL, POSITION_TEXT, POSITION_LONGTEXT, VLC_TRUE ); add_bool( "xosd-position", 1, NULL, POSITION_TEXT, POSITION_LONGTEXT, VLC_TRUE );
add_integer( "xosd-text-offset", 0, NULL, TXT_OFS_TEXT, TXT_OFS_LONGTEXT, VLC_TRUE ); add_integer( "xosd-text-offset", 0, NULL, TXT_OFS_TEXT, TXT_OFS_LONGTEXT, VLC_TRUE );
add_integer( "xosd-shadow-offset", 1, NULL, add_integer( "xosd-shadow-offset", 1, NULL,
SHD_OFS_TEXT, SHD_OFS_LONGTEXT, VLC_TRUE ); SHD_OFS_TEXT, SHD_OFS_LONGTEXT, VLC_TRUE );
add_string( "xosd-font", "-misc-fixed-medium-r-*-*-*-300-*-*-*-*-*-*", add_string( "xosd-font", "-misc-fixed-medium-r-*-*-*-300-*-*-*-*-*-*",
NULL, FONT_TEXT, FONT_LONGTEXT, VLC_TRUE ); NULL, FONT_TEXT, FONT_LONGTEXT, VLC_TRUE );
set_description( _("xosd interface") );
set_capability( "interface", 10 ); set_capability( "interface", 10 );
set_callbacks( Open, Close ); set_callbacks( Open, Close );
vlc_module_end(); 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