]> git.sesse.net Git - vlc/commitdiff
* ALL: removed useless add_category_hint().
authorGildas Bazin <gbazin@videolan.org>
Sun, 25 Jan 2004 20:40:59 +0000 (20:40 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sun, 25 Jan 2004 20:40:59 +0000 (20:40 +0000)
modules/access_output/udp.c
modules/codec/araw.c
modules/codec/dvbsub.c
modules/codec/ffmpeg/ffmpeg.c
modules/codec/subsdec.c
modules/control/rc/rc.c
modules/visualization/xosd/xosd.c

index fa3910233d9a69877aa0dc44b4ce504c61370b5c..c432a30ab19743e8008abb192ccdecd2cf8f7871 100644 (file)
@@ -2,7 +2,7 @@
  * udp.c
  *****************************************************************************
  * 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>
  *          Eric Petit <titer@videolan.org>
@@ -73,12 +73,12 @@ static sout_buffer_t *NewUDPPacket( sout_access_out_t *, mtime_t );
 #define CACHING_TEXT N_("Caching value (ms)")
 #define CACHING_LONGTEXT N_( \
     "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();
     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, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
+    add_integer( "udp-sout-caching", DEFAULT_PTS_DELAY / 1000, NULL,
+                 CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
     set_capability( "sout access", 100 );
     add_shortcut( "udp" );
     add_shortcut( "rtp" ); // Will work only with ts muxer
index e1429bb20036fe944bf21a9be4876c25200eda6f..16133285ef2c327c77b10eda7aa60e04a6c373fd 100644 (file)
@@ -2,7 +2,7 @@
  * araw.c: Pseudo audio decoder; for raw pcm data
  *****************************************************************************
  * 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>
  *
@@ -39,7 +39,7 @@ static void EncoderClose( vlc_object_t * );
 vlc_module_begin();
     /* audio decoder module */
     set_description( _("Raw/Log Audio decoder") );
-    set_capability( "decoder", 50 );
+    set_capability( "decoder", 100 );
     set_callbacks( DecoderOpen, DecoderClose );
 
     /* audio encoder submodule */
index 852f89b16715713943c59c0091f52c39bd2b9802..ef17458a38d5c9b6306976730a77acd30337174d 100644 (file)
@@ -3,7 +3,7 @@
  *****************************************************************************
  * Copyright (C) 2003 ANEVIA
  * 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>
  *          Laurent Aimar <fenrir@via.ecp.fr>
@@ -38,7 +38,6 @@ static int  Open ( vlc_object_t *p_this );
 static void Close( vlc_object_t *p_this );
 
 vlc_module_begin();
-    add_category_hint( N_("subtitles"), NULL, VLC_TRUE );
     set_description( _("DVB subtitles decoder") );
     set_capability( "decoder", 50 );
     set_callbacks( Open, Close );
index 9cf060dfddec77d6e92c08dce6145bb69e443bec..7d57d9aadb8b26dd3c77dfc139791417eaad91af 100644 (file)
@@ -2,7 +2,7 @@
  * ffmpeg.c: video decoder using ffmpeg library
  *****************************************************************************
  * 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>
  *          Gildas Bazin <gbazin@netcourrier.com>
@@ -76,10 +76,9 @@ static void CloseDecoder( vlc_object_t * );
 vlc_module_begin();
 
     /* 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_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_integer ( "ffmpeg-error-resilience", -1, NULL, ERROR_TEXT,
index 5dee1940bf52f1a138121637185b174816f7a2b9..e84763ad891c74c0b6f1bbc3e346cc25ee850991 100644 (file)
@@ -2,7 +2,7 @@
  * subsdec.c : text subtitles decoder
  *****************************************************************************
  * 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>
  *          Samuel Hocevar <sam@zoy.org>
@@ -101,7 +101,6 @@ vlc_module_begin();
     set_capability( "decoder", 50 );
     set_callbacks( OpenDecoder, CloseDecoder );
 
-    add_category_hint( N_("Subtitles"), NULL, VLC_FALSE );
     add_integer( "subsdec-align", 0, NULL, ALIGN_TEXT, ALIGN_LONGTEXT,
                  VLC_TRUE );
         change_integer_list( pi_justification, ppsz_justification_text, 0 );
index a7a3ab6979290b882685d364f77edc3995597edb..1fd1e122ec9c52feea2b7174ad6e6e42ef542cbb 100644 (file)
@@ -2,7 +2,7 @@
  * rc.c : remote control stdin/stdout module for vlc
  *****************************************************************************
  * 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>
  *
@@ -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.")
 
 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 );
 #ifdef HAVE_ISATTY
     add_bool( "fake-tty", 0, NULL, TTY_TEXT, TTY_LONGTEXT, VLC_TRUE );
 #endif
-    set_description( _("Remote control interface") );
     set_capability( "interface", 20 );
     set_callbacks( Activate, NULL );
 vlc_module_end();
index d9a392e6e058d7821a1b393cc10e887ba0801fe7..6f2b239a1d5ba9f160d17d336b743505be69627c 100644 (file)
@@ -2,7 +2,7 @@
  * xosd.c : X On Screen Display interface
  *****************************************************************************
  * 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: Loïc Minier <lool@videolan.org>
  *
@@ -72,14 +72,13 @@ static void Run          ( intf_thread_t * );
 #define FONT_LONGTEXT N_("Font used to display text in the xosd output")
 
 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_integer( "xosd-text-offset", 0, NULL, TXT_OFS_TEXT, TXT_OFS_LONGTEXT, VLC_TRUE );
     add_integer( "xosd-shadow-offset", 1, NULL,
                  SHD_OFS_TEXT, SHD_OFS_LONGTEXT, VLC_TRUE );
     add_string( "xosd-font", "-misc-fixed-medium-r-*-*-*-300-*-*-*-*-*-*",
                 NULL, FONT_TEXT, FONT_LONGTEXT, VLC_TRUE );
-    set_description( _("xosd interface") );
     set_capability( "interface", 10 );
     set_callbacks( Open, Close );
 vlc_module_end();