]> git.sesse.net Git - vlc/commitdiff
* backport of [11386]
authorDerk-Jan Hartman <hartman@videolan.org>
Fri, 10 Jun 2005 15:32:08 +0000 (15:32 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Fri, 10 Jun 2005 15:32:08 +0000 (15:32 +0000)
18 files changed:
modules/audio_filter/converter/mpgatofixed32.c
modules/audio_filter/format.c
modules/audio_output/file.c
modules/codec/dts.c
modules/gui/macosx/macosx.m
modules/misc/freetype.c
modules/misc/network/ipv4.c
modules/misc/svg.c
modules/video_filter/mosaic.c
modules/video_filter/motionblur.c
modules/video_filter/motiondetect.c
modules/video_filter/swscale/filter.c
modules/video_output/fb.c
modules/video_output/opengl.c
modules/video_output/sdl.c
modules/video_output/svgalib.c
modules/video_output/wingdi.c
src/libvlc.h

index 2c547b5205bd26cb5be1751099c6291e774ec137..8295a24c2ebca9c6bf9cfcd2674cf909f5bd2ab8 100644 (file)
@@ -62,8 +62,8 @@ struct filter_sys_t
  * Module descriptor
  *****************************************************************************/
 vlc_module_begin();
-    set_category( CAT_AUDIO );
-    set_subcategory( SUBCAT_AUDIO_MISC );
+    set_category( CAT_INPUT );
+    set_subcategory( SUBCAT_INPUT_ACODEC );
     set_description( _("MPEG audio decoder") );
     set_capability( "audio filter", 100 );
     set_callbacks( Create, Destroy );
index 28b338a4e4aa21bfd04183bf1232ed13df34c74c..89768a7d543c01d18f2a72fd13c1e0a66b04108d 100644 (file)
@@ -199,6 +199,8 @@ static struct
  *****************************************************************************/
 vlc_module_begin();
     set_description( _("audio filter for PCM format conversion") );
+    set_category( CAT_AUDIO );
+    set_subcategory( SUBCAT_AUDIO_MISC );
     set_capability( "audio filter2", 1 );
     set_callbacks( Open, NULL );
 vlc_module_end();
index 1dff0d785e0ba5e050269f34e7d212f25264d8e9..7f9035e2d90ba093bfd304228fa38e530193d5f4 100644 (file)
@@ -109,6 +109,8 @@ static int format_int[] = { VLC_FOURCC('u','8',' ',' '),
 vlc_module_begin();
     set_description( N_("File audio output") );
     set_shortname( _("File") );
+    set_category( CAT_AUDIO );
+    set_subcategory( SUBCAT_AUDIO_AOUT );
 
     add_string( "audiofile-format", "s16", NULL,
                 FORMAT_TEXT, FORMAT_LONGTEXT, VLC_TRUE );
index c6adbc070048bba3edbbb092b6802d66a0c85a9c..aa208d2f265af48880f8d22ef21cdf610ad2cee1 100644 (file)
@@ -90,8 +90,6 @@ static block_t       *GetSoutBuffer( decoder_t * );
 vlc_module_begin();
     set_description( _("DTS parser") );
     set_capability( "decoder", 100 );
-    set_category( CAT_INPUT );
-    set_subcategory( SUBCAT_INPUT_ACODEC );
     set_callbacks( OpenDecoder, CloseDecoder );
 
     add_submodule();
index aded06b02836b9d04a15e6ac8cec6a8ce7593ea3..a48e0e8f7dd62484fb400fb4b8189bfeab522c9b 100644 (file)
@@ -76,6 +76,8 @@ vlc_module_begin();
     add_submodule();
         set_description( _("Quartz video") );
         set_capability( "video output", 100 );
+        set_category( CAT_VIDEO);
+        set_subcategory( SUBCAT_VIDEO_VOUT );
         set_callbacks( E_(OpenVideoQT), E_(CloseVideoQT) );
         add_integer( "macosx-vdev", 0, NULL, VDEV_TEXT, VDEV_LONGTEXT,
                      VLC_FALSE );
@@ -88,6 +90,8 @@ vlc_module_begin();
     add_submodule();
         set_description( "Mac OS X OpenGL" );
         set_capability( "opengl provider", 100 );
+        set_category( CAT_VIDEO);
+        set_subcategory( SUBCAT_VIDEO_VOUT );
         set_callbacks( E_(OpenVideoGL), E_(CloseVideoGL) );
 vlc_module_end();
 
index 88a6e6c52cde452f0e1383e4172c05204093f359..7b2a35cb0f60593166e382e75ed68241e3c3b1b0 100644 (file)
@@ -123,11 +123,11 @@ vlc_module_begin();
 
     /* opacity valid on 0..255, with default 255 = fully opaque */
     add_integer_with_range( "freetype-opacity", 255, 0, 255, NULL,
-        OPACITY_TEXT, OPACITY_LONGTEXT, VLC_FALSE );
+        OPACITY_TEXT, OPACITY_LONGTEXT, VLC_TRUE );
 
     /* hook to the color values list, with default 0x00ffffff = white */
     add_integer( "freetype-color", 0x00FFFFFF, NULL, COLOR_TEXT,
-                 COLOR_LONGTEXT, VLC_TRUE );
+                 COLOR_LONGTEXT, VLC_FALSE );
         change_integer_list( pi_color_values, ppsz_color_descriptions, 0 );
 
     add_integer( "freetype-rel-fontsize", 16, NULL, FONTSIZER_TEXT,
index 2338ed08c36195fde2ce8a372d6a90d0aa2a4917..e7827cd5d054c6f9e620d0fb8846c54d419e23db 100644 (file)
@@ -105,6 +105,8 @@ static int NetOpen( vlc_object_t * );
 vlc_module_begin();
     set_description( _("IPv4 network abstraction layer") );
     set_capability( "network", 50 );
+    set_category( CAT_INPUT );
+    set_subcategory( SUBCAT_INPUT_ADVANCED );
     set_callbacks( NetOpen, NULL );
 
     add_integer( "ipv4-timeout", 5 * 1000, NULL, TIMEOUT_TEXT,
index 09f7811cbb4a321e67e0abffe4aa3307a23e0f72..16ba9d0023b2d64228874ad63ac7ae0af356aa73 100644 (file)
@@ -58,6 +58,8 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
 #define TEMPLATE_LONGTEXT N_( "Location of a file holding a SVG template for automatic string conversion" )
 
 vlc_module_begin();
+ set_category( CAT_INPUT);
+ set_category( SUBCAT_INPUT_SCODEC );
  set_capability( "text renderer", 101 );
  add_shortcut( "svg" );
  add_string( "svg-template-file", "", NULL, TEMPLATE_TEXT, TEMPLATE_LONGTEXT, VLC_TRUE );
index 34c6d11bf6e41d947451ddce75c3b1d63940a64f..7b045e013b98c803feb59651c0dabddf4ecd5b16 100644 (file)
@@ -124,6 +124,8 @@ static char *ppsz_align_descriptions[] =
 vlc_module_begin();
     set_description( N_("Mosaic video sub filter") );
     set_shortname( N_("Mosaic") );
+    set_category( CAT_VIDEO );
+    set_subcategory( SUBCAT_VIDEO_SUBPIC);
     set_capability( "sub filter", 0 );
     set_callbacks( CreateFilter, DestroyFilter );
 
index 406f9e59bc066140f1ec7c0dc538ef9ba41ee061..1e1b01d2818d8ff3721e84b4b9d23b69e13d565b 100644 (file)
@@ -57,6 +57,8 @@ static int  SendEvents( vlc_object_t *, char const *,
 vlc_module_begin();
     set_description( _("Motion blur filter") );
     set_capability( "video filter", 0 );
+    set_category( CAT_VIDEO );
+    set_subcategory( SUBCAT_VIDEO_VFILTER );
 
     add_integer_with_range( "blur-factor", 80, 1, 127, NULL,
         MODE_TEXT, MODE_LONGTEXT, VLC_FALSE );
index 34bd4cff947bd25ec705b226450ab6e180789822..1eea40fdb27df579e090517f29bbac7682db795d 100644 (file)
@@ -59,6 +59,8 @@ static int  SendEvents   ( vlc_object_t *, char const *,
 vlc_module_begin();
     set_description( _("Motion detect video filter") );
     set_shortname( N_( "Motion detect" ));
+    set_category( CAT_VIDEO );
+    set_subcategory( SUBCAT_VIDEO_VFILTER );
     set_capability( "video filter", 0 );
 
     add_integer( "motiondetect-history", 1, NULL, HISTORY_TEXT,
index e780117aec5faed35617094b3496eff53e766edf..63315c501b75b738c30bf80e1d36e1a28d45e4e7 100644 (file)
@@ -73,6 +73,8 @@ static char *ppsz_mode_descriptions[] =
 vlc_module_begin();
     set_description( _("Video scaling filter") );
     set_capability( "video filter2", 1000 );
+    set_category( CAT_VIDEO );
+    set_subcategory( SUBCAT_VIDEO_VFILTER );
     set_callbacks( OpenFilter, CloseFilter );
 
     add_integer( "swscale-mode", 0, NULL, MODE_TEXT, MODE_LONGTEXT, VLC_TRUE );
index 0cca7d4338d1cff4fa7171161921c44eeac4b515..24066de168710a96db10695b5b28fcdaec39c728 100644 (file)
@@ -70,7 +70,7 @@ static void GfxMode        ( int i_tty );
     "for rendering (usually /dev/fb0).")
 
 vlc_module_begin();
-    set_shortname( "FB" );
+    set_shortname( "Framebuffer" );
     set_category( CAT_VIDEO );
     set_subcategory( SUBCAT_VIDEO_VOUT );
     add_file( FB_DEV_VAR, "/dev/fb0", NULL, DEVICE_TEXT, DEVICE_LONGTEXT,
index a3091f2245ab23b3082dcea50883acecf9ca53bc..2e3a43c31944e1b6a56b334e0c9cb77aff45bfa7 100644 (file)
@@ -109,6 +109,9 @@ static char *ppsz_effects_text[] = {
         N_("None"), N_("Cube"), N_("Transparent Cube") };
 
 vlc_module_begin();
+    set_shortname( "OpenGL" );
+    set_category( CAT_VIDEO );
+    set_subcategory( SUBCAT_VIDEO_VOUT );
     set_description( _("OpenGL video output") );
 #ifdef SYS_DARWIN
     set_capability( "video output", 200 );
@@ -117,10 +120,10 @@ vlc_module_begin();
 #endif
     add_shortcut( "opengl" );
     add_float( "opengl-cube-speed", 2.0, NULL, SPEED_TEXT,
-                    SPEED_LONGTEXT, VLC_FALSE );
+                    SPEED_LONGTEXT, VLC_TRUE );
     set_callbacks( CreateVout, DestroyVout );
     add_string( "opengl-effect", "none", NULL, EFFECT_TEXT,
-                 EFFECT_LONGTEXT, VLC_TRUE );
+                 EFFECT_LONGTEXT, VLC_FALSE );
         change_string_list( ppsz_effects, ppsz_effects_text, 0 );
 vlc_module_end();
 
index 0ba2cbb989c0109dc09fbd19a2bebdf56db7efe5..c01c7020c27c08dbad20b49756c9f70c8afe4563 100644 (file)
@@ -101,6 +101,9 @@ static void SetPalette      ( vout_thread_t *,
  * Module descriptor
  *****************************************************************************/
 vlc_module_begin();
+    set_shortname( "SDL" );
+    set_category( CAT_VIDEO );
+    set_subcategory( SUBCAT_VIDEO_VOUT );
     set_description( _("Simple DirectMedia Layer video output") );
     set_capability( "video output", 60 );
     add_shortcut( "sdl" );
index 9a7ff093041fc231c3f135060d94cc8b9331aef8..2941e12119857d6c2844692718e1d528c39a9452 100644 (file)
@@ -50,6 +50,9 @@ static void SetPalette( vout_thread_t *, uint16_t *, uint16_t *, uint16_t * );
  * Module descriptor
  *****************************************************************************/
 vlc_module_begin();
+    set_shortname( "SVGAlib" );
+    set_category( CAT_VIDEO );
+    set_subcategory( SUBCAT_VIDEO_VOUT );
     set_description( _("SVGAlib video output") );
     set_capability( "video output", 0 );
     set_callbacks( Create, Destroy );
index 8df2ec5abbf7d074d8daeeadb471dd670fd43928..470bee73410c7431e8dce36329eafb7c145346d0 100644 (file)
@@ -210,10 +210,14 @@ struct vout_sys_t
  * Module descriptor
  *****************************************************************************/
 vlc_module_begin();
+    set_category( CAT_VIDEO );
+    set_subcategory( SUBCAT_VIDEO_VOUT );
 #ifdef MODULE_NAME_IS_wingapi
+    set_shortname( _("Windows GAPI") );
     set_description( _("Windows GAPI video output") );
     set_capability( "video output", 20 );
 #else
+    set_shortname( _("Windows GDI") );
     set_description( _("Windows GDI video output") );
     set_capability( "video output", 10 );
 #endif
index c941da5a25340ea0df68e429eb99d5315e07db0c..763fa4d9bf9f5a8f3c82e9305d7acc7577a1287b 100644 (file)
@@ -944,7 +944,7 @@ vlc_module_begin();
               FULLSCREEN_LONGTEXT, VLC_FALSE );
         change_short('f');
     add_bool( "skip-frames", 1, NULL, SKIP_FRAMES_TEXT,
-              SKIP_FRAMES_LONGTEXT, VLC_TRUE );
+              SKIP_FRAMES_LONGTEXT, VLC_FALSE );
     add_bool( "quiet-synchro", 0, NULL, QUIET_SYNCHRO_TEXT,
               QUIET_SYNCHRO_LONGTEXT, VLC_TRUE );
 #ifndef SYS_DARWIN
@@ -957,7 +957,7 @@ vlc_module_begin();
     add_directory( "snapshot-path", NULL, NULL, SNAP_PATH_TEXT,
                    SNAP_PATH_LONGTEXT, VLC_FALSE );
     add_string( "snapshot-format", "png", NULL, SNAP_FORMAT_TEXT,
-                   SNAP_FORMAT_LONGTEXT, VLC_TRUE );
+                   SNAP_FORMAT_LONGTEXT, VLC_FALSE );
         change_string_list( ppsz_snap_formats, NULL, 0 );
 
     set_section( N_("Window properties" ), NULL );
@@ -966,7 +966,7 @@ vlc_module_begin();
     add_integer( "video-x", -1, NULL, VIDEOX_TEXT, VIDEOX_LONGTEXT, VLC_TRUE );
     add_integer( "video-y", -1, NULL, VIDEOY_TEXT, VIDEOY_LONGTEXT, VLC_TRUE );
     add_string( "aspect-ratio", "", NULL,
-               ASPECT_RATIO_TEXT, ASPECT_RATIO_LONGTEXT, VLC_TRUE );
+               ASPECT_RATIO_TEXT, ASPECT_RATIO_LONGTEXT, VLC_FALSE );
     add_bool( "video-deco", 1, NULL, VIDEO_DECO_TEXT,
               VIDEO_DECO_LONGTEXT, VLC_TRUE );
     add_string( "video-title", NULL, NULL, VIDEO_TITLE_TEXT,