]> git.sesse.net Git - vlc/commitdiff
#transcode{vfilter=...} only works with video filter2 filters.
authorAntoine Cellerier <dionoea@videolan.org>
Sun, 9 Jul 2006 15:01:13 +0000 (15:01 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sun, 9 Jul 2006 15:01:13 +0000 (15:01 +0000)
include/configuration.h
include/vlc_config_cat.h
modules/stream_out/transcode.c
modules/video_filter/scale.c

index 68797cf82b291d0d4615b9c182afe4c84911d523..7b9a53a8228aa59c34922e988934e52e76991ae1 100644 (file)
@@ -79,6 +79,7 @@
    #define SUBCAT_VIDEO_VFILTER 303
    #define SUBCAT_VIDEO_TEXT 304
    #define SUBCAT_VIDEO_SUBPIC 305
+   #define SUBCAT_VIDEO_VFILTER2 306
 
 #define CAT_INPUT 4
    #define SUBCAT_INPUT_GENERAL 401
index 97169e3c25074f04865fc0164b9936cf5f9fae26..7578d41a5e28dac44f8dc84da5b02748f8deae2a 100644 (file)
 #define VFILTER_HELP N_( \
     "Video filters are used to postprocess the video stream." )
 
+#define VFILTER2_TITLE N_("Filters (v2)" )
+#define VFILTER2_HELP N_( \
+    "Video filters are used to postprocess the video stream." )
+
 #define SUBPIC_TITLE N_( "Subtitles/OSD")
 #define SUBPIC_HELP N_( "Miscellaneous settings related to On-Screen-Display,"\
         " subtitles and \"overlay subpictures\".")
@@ -313,6 +317,7 @@ static struct config_category_t categories_array[] =
     { SUBCAT_VIDEO_GENERAL, VIDEO_GENERAL_TITLE, VIDEO_GENERAL_HELP },
     { SUBCAT_VIDEO_VOUT, _VOUT_TITLE, VOUT_HELP },
     { SUBCAT_VIDEO_VFILTER, VFILTER_TITLE, VFILTER_HELP },
+    { SUBCAT_VIDEO_VFILTER2, VFILTER2_TITLE, VFILTER2_HELP },
     { SUBCAT_VIDEO_SUBPIC, SUBPIC_TITLE, SUBPIC_HELP },
 
     { CAT_INPUT, INPUT_TITLE, INPUT_HELP },
index 935cfe5574ab85ee39661562d9224dc4a6cd9c1c..450f4ba8ccea35ebca69144339a8b76837680b12 100644 (file)
@@ -217,7 +217,7 @@ vlc_module_begin();
                  MAXWIDTH_LONGTEXT, VLC_TRUE );
     add_integer( SOUT_CFG_PREFIX "maxheight", 0, NULL, MAXHEIGHT_TEXT,
                  MAXHEIGHT_LONGTEXT, VLC_TRUE );
-    add_module_list_cat( SOUT_CFG_PREFIX "vfilter", SUBCAT_VIDEO_VFILTER,
+    add_module_list_cat( SOUT_CFG_PREFIX "vfilter", SUBCAT_VIDEO_VFILTER2,
                      NULL, NULL,
                      VFILTER_TEXT, VFILTER_LONGTEXT, VLC_FALSE );
 
index fde9f41689fe615649e0431f705af1fc53ecffbd..8ca7e20660bcf5c9d3de952a0dbb34ff2ad9ea85 100644 (file)
@@ -53,7 +53,7 @@ vlc_module_begin();
     set_description( _("Video scaling filter") );
     set_capability( "video filter2", 10000 );
     set_category( CAT_VIDEO );
-    set_subcategory( SUBCAT_VIDEO_VFILTER );
+    set_subcategory( SUBCAT_VIDEO_VFILTER2 );
     set_callbacks( OpenFilter, CloseFilter );
 vlc_module_end();