Commit 0c3f2926 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

video_filters: drop version number from capability

(This fixes the transcode module video filter option in preferences, as
the two was forgotten.)
parent b46faf2b
......@@ -250,7 +250,7 @@ libvlc_module_description_t *libvlc_audio_filter_list_get( libvlc_instance_t *p_
libvlc_module_description_t *libvlc_video_filter_list_get( libvlc_instance_t *p_instance )
{
return module_description_list_get( p_instance, "video filter2" );
return module_description_list_get( p_instance, "video filter" );
}
int64_t libvlc_clock(void)
......
......@@ -32,7 +32,7 @@ static int Open (vlc_object_t *);
vlc_module_begin ()
set_description (N_("ARM NEON video chroma conversions"))
set_capability ("video filter2", 250)
set_capability ("video filter", 250)
set_callbacks (Open, NULL)
vlc_module_end ()
......
......@@ -33,7 +33,7 @@ static int Open (vlc_object_t *);
vlc_module_begin ()
set_description (N_("ARM NEON video chroma YUV->RGBA"))
set_capability ("video filter2", 250)
set_capability ("video filter", 250)
set_callbacks (Open, NULL)
vlc_module_end ()
......
......@@ -231,7 +231,7 @@ static filter_t *CreateFilter( vlc_object_t *p_this, const es_format_t *p_fmt_in
es_format_InitFromVideo( &p_filter->fmt_out, &p_fmt_in->video );
p_filter->fmt_in.i_codec = p_filter->fmt_in.video.i_chroma = src_chroma;
p_filter->fmt_out.i_codec = p_filter->fmt_out.video.i_chroma = fmt_out;
p_filter->p_module = module_need( p_filter, "video filter2", NULL, false );
p_filter->p_module = module_need( p_filter, "video filter", NULL, false );
if( !p_filter->p_module )
{
......
......@@ -203,7 +203,7 @@ static filter_t *CreateFilter( vlc_object_t *p_this, const es_format_t *p_fmt_in
es_format_InitFromVideo( &p_filter->fmt_out, &p_fmt_in->video );
p_filter->fmt_in.i_codec = p_filter->fmt_in.video.i_chroma = src_chroma;
p_filter->fmt_out.i_codec = p_filter->fmt_out.video.i_chroma = fmt_out;
p_filter->p_module = module_need( p_filter, "video filter2", NULL, false );
p_filter->p_module = module_need( p_filter, "video filter", NULL, false );
if( !p_filter->p_module )
{
......
......@@ -735,7 +735,7 @@ static int BossCallback(vlc_object_t *p_this, const char *psz_var,
if (module_provides(p_obj, "video splitter")) {
return "video-splitter";
} else if (module_provides(p_obj, "video filter2")) {
} else if (module_provides(p_obj, "video filter")) {
return "video-filter";
} else if (module_provides(p_obj, "sub source")) {
return "sub-source";
......
......@@ -347,7 +347,7 @@ static const char* GetVFilterType( struct intf_thread_t *p_intf, const char *psz
if( module_provides( p_obj, "video splitter" ) )
return "video-splitter";
else if( module_provides( p_obj, "video filter2" ) )
else if( module_provides( p_obj, "video filter" ) )
return "video-filter";
else if( module_provides( p_obj, "sub source" ) )
return "sub-source";
......
......@@ -495,7 +495,7 @@ inline void VLCProfileEditor::registerFilters()
QListWidget *listWidget = NULL;
QListWidgetItem *item;
if ( capability == "video filter2" )
if ( capability == "video filter" )
listWidget = ui.valueholder_video_filters;
else if ( capability == "audio filter" )
listWidget = ui.valueholder_audio_filters;
......
......@@ -47,7 +47,7 @@ static void Close(filter_t *filter);
vlc_module_begin()
set_shortname(N_("MMAL deinterlace"))
set_description(N_("MMAL-based deinterlace filter plugin"))
set_capability("video filter2", 10)
set_capability("video filter", 10)
set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER)
set_callbacks(Open, Close)
......
......@@ -186,7 +186,7 @@ vlc_module_begin()
set_description(N_("VDPAU adjust video filter"))
set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER)
set_capability("video filter2", 0)
set_capability("video filter", 0)
add_shortcut("adjust")
set_callbacks(Open, Close)
vlc_module_end()
......@@ -809,7 +809,7 @@ static const char *const algo_names[] = {
vlc_module_begin()
set_shortname(N_("VDPAU"))
set_description(N_("VDPAU surface conversions"))
set_capability("video filter2", 10)
set_capability("video filter", 10)
set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER)
set_callbacks(OutputOpen, OutputClose)
......
......@@ -131,7 +131,7 @@ static void Close(vlc_object_t *obj)
vlc_module_begin()
set_description(N_("VDPAU deinterlacing filter"))
set_capability("video filter2", 0)
set_capability("video filter", 0)
set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER)
set_callbacks(Open, Close)
......
......@@ -142,7 +142,7 @@ vlc_module_begin()
set_description(N_("VDPAU sharpen video filter"))
set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER)
set_capability("video filter2", 0)
set_capability("video filter", 0)
add_shortcut("sharpen")
set_callbacks(Open, Close)
vlc_module_end()
......@@ -151,7 +151,7 @@ vlc_module_begin ()
add_string( CFG_PREFIX "chroma", NULL, CHROMA_TEXT, CHROMA_LONGTEXT,
false )
add_module_list( CFG_PREFIX "vfilter", "video filter2",
add_module_list( CFG_PREFIX "vfilter", "video filter",
NULL, VFILTER_TEXT, VFILTER_LONGTEXT, false )
add_integer_with_range( CFG_PREFIX "alpha", 255, 0, 255,
......
......@@ -177,7 +177,7 @@ vlc_module_begin ()
MAXWIDTH_LONGTEXT, true )
add_integer( SOUT_CFG_PREFIX "maxheight", 0, MAXHEIGHT_TEXT,
MAXHEIGHT_LONGTEXT, true )
add_module_list( SOUT_CFG_PREFIX "vfilter", "video filter2",
add_module_list( SOUT_CFG_PREFIX "vfilter", "video filter",
NULL, VFILTER_TEXT, VFILTER_LONGTEXT, false )
set_section( N_("Audio"), NULL )
......
......@@ -41,7 +41,7 @@ static void Destroy ( vlc_object_t * );
vlc_module_begin ()
set_description( N_("Video filtering using a chain of video filter modules") )
set_capability( "video filter2", 1 )
set_capability( "video filter", 1 )
set_callbacks( Activate, Destroy )
vlc_module_end ()
......
......@@ -43,7 +43,7 @@ static picture_t *CVPX_I420_Filter( filter_t *, picture_t * );
vlc_module_begin ()
set_description( N_("Conversions from CoreVideo buffers to I420") )
set_capability( "video filter2", 10 )
set_capability( "video filter", 10 )
set_callbacks( Activate, NULL )
vlc_module_end ()
......
......@@ -43,7 +43,7 @@ static void CloseConverter( vlc_object_t * );
*****************************************************************************/
vlc_module_begin ()
set_description( N_("Conversions from D3D11 to YUV") )
set_capability( "video filter2", 10 )
set_capability( "video filter", 10 )
set_callbacks( OpenConverter, CloseConverter )
vlc_module_end ()
......
......@@ -43,7 +43,7 @@ static void CloseConverter( vlc_object_t * );
*****************************************************************************/
vlc_module_begin ()
set_description( N_("Conversions from DxVA2 to YUV") )
set_capability( "video filter2", 10 )
set_capability( "video filter", 10 )
set_callbacks( OpenConverter, CloseConverter )
vlc_module_end ()
......
......@@ -52,7 +52,7 @@ static picture_t *GREY_YUY2_Filter( filter_t *, picture_t * );
*****************************************************************************/
vlc_module_begin ()
set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) )
set_capability( "video filter2", 80 )
set_capability( "video filter", 80 )
set_callbacks( Activate, NULL )
vlc_module_end ()
......
......@@ -127,6 +127,6 @@ static void I420_10_P010( filter_t *p_filter, picture_t *p_src,
*****************************************************************************/
vlc_module_begin ()
set_description( N_("YUV 10-bits planar to semiplanar 10-bits conversions") )
set_capability( "video filter2", 160 )
set_capability( "video filter", 160 )
set_callbacks( Create, Delete )
vlc_module_end ()
......@@ -159,6 +159,6 @@ static void YV12_NV12( filter_t *p_filter, picture_t *p_src,
*****************************************************************************/
vlc_module_begin ()
set_description( N_("YUV planar to semiplanar conversions") )
set_capability( "video filter2", 160 )
set_capability( "video filter", 160 )
set_callbacks( Create, Delete )
vlc_module_end ()
......@@ -77,17 +77,17 @@ vlc_module_begin ()
#if defined (SSE2)
set_description( N_( "SSE2 I420,IYUV,YV12 to "
"RV15,RV16,RV24,RV32 conversions") )
set_capability( "video filter2", 120 )
set_capability( "video filter", 120 )
# define vlc_CPU_capable() vlc_CPU_SSE2()
#elif defined (MMX)
set_description( N_( "MMX I420,IYUV,YV12 to "
"RV15,RV16,RV24,RV32 conversions") )
set_capability( "video filter2", 100 )
set_capability( "video filter", 100 )
# define vlc_CPU_capable() vlc_CPU_MMX()
#else
set_description( N_("I420,IYUV,YV12 to "
"RGB2,RV15,RV16,RV24,RV32 conversions") )
set_capability( "video filter2", 80 )
set_capability( "video filter", 80 )
# define vlc_CPU_capable() (true)
#endif
set_callbacks( Activate, Deactivate )
......
......@@ -89,20 +89,20 @@ static const uint64_t i_80w = 0x0000000080808080ULL;
vlc_module_begin ()
#if defined (MODULE_NAME_IS_i420_yuy2)
set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) )
set_capability( "video filter2", 80 )
set_capability( "video filter", 80 )
# define vlc_CPU_capable() (true)
#elif defined (MODULE_NAME_IS_i420_yuy2_mmx)
set_description( N_("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) )
set_capability( "video filter2", 160 )
set_capability( "video filter", 160 )
# define vlc_CPU_capable() vlc_CPU_MMX()
#elif defined (MODULE_NAME_IS_i420_yuy2_sse2)
set_description( N_("SSE2 conversions from " SRC_FOURCC " to " DEST_FOURCC) )
set_capability( "video filter2", 250 )
set_capability( "video filter", 250 )
# define vlc_CPU_capable() vlc_CPU_SSE2()
#elif defined (MODULE_NAME_IS_i420_yuy2_altivec)
set_description(
_("AltiVec conversions from " SRC_FOURCC " to " DEST_FOURCC) );
set_capability( "video filter2", 250 )
set_capability( "video filter", 250 )
# define vlc_CPU_capable() vlc_CPU_ALTIVEC()
#endif
set_callbacks( Activate, NULL )
......
......@@ -54,7 +54,7 @@ static picture_t *I422_YUVA_Filter( filter_t *, picture_t * );
*****************************************************************************/
vlc_module_begin ()
set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) )
set_capability( "video filter2", 60 )
set_capability( "video filter", 60 )
set_callbacks( Activate, NULL )
vlc_module_end ()
......
......@@ -68,17 +68,17 @@ static picture_t *I422_Y211_Filter ( filter_t *, picture_t * );
vlc_module_begin ()
#if defined (MODULE_NAME_IS_i422_yuy2)
set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) )
set_capability( "video filter2", 80 )
set_capability( "video filter", 80 )
# define vlc_CPU_capable() (true)
# define VLC_TARGET
#elif defined (MODULE_NAME_IS_i422_yuy2_mmx)
set_description( N_("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) )
set_capability( "video filter2", 100 )
set_capability( "video filter", 100 )
# define vlc_CPU_capable() vlc_CPU_MMX()
# define VLC_TARGET VLC_MMX
#elif defined (MODULE_NAME_IS_i422_yuy2_sse2)
set_description( N_("SSE2 conversions from " SRC_FOURCC " to " DEST_FOURCC) )
set_capability( "video filter2", 120 )
set_capability( "video filter", 120 )
# define vlc_CPU_capable() vlc_CPU_SSE2()
# define VLC_TARGET VLC_SSE
#endif
......
......@@ -33,7 +33,7 @@ static int OpenScaler (vlc_object_t *);
vlc_module_begin ()
set_description (N_("OpenMAX DL image processing"))
set_capability ("video filter2", 90)
set_capability ("video filter", 90)
set_callbacks (Open, NULL)
vlc_module_end ()
......
......@@ -43,7 +43,7 @@ static picture_t *Filter( filter_t *, picture_t * );
*****************************************************************************/
vlc_module_begin ()
set_description( N_("RV32 conversion filter") )
set_capability( "video filter2", 1 )
set_capability( "video filter", 1 )
set_callbacks( OpenFilter, NULL )
vlc_module_end ()
......
......@@ -67,7 +67,7 @@ const char *const ppsz_mode_descriptions[] =
vlc_module_begin ()
set_description( N_("Video scaling filter") )
set_shortname( N_("Swscale" ) )
set_capability( "video filter2", 150 )
set_capability( "video filter", 150 )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_callbacks( OpenScaler, CloseScaler )
......
......@@ -45,7 +45,7 @@ static void Close( vlc_object_t * );
vlc_module_begin ()
set_description( N_("YUVP converter") )
set_capability( "video filter2", 10 )
set_capability( "video filter", 10 )
set_callbacks( Open, Close )
vlc_module_end ()
......
......@@ -54,7 +54,7 @@ static picture_t *UYVY_I420_Filter ( filter_t *, picture_t * );
*****************************************************************************/
vlc_module_begin ()
set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) )
set_capability( "video filter2", 80 )
set_capability( "video filter", 80 )
set_callbacks( Activate, NULL )
vlc_module_end ()
......
......@@ -53,7 +53,7 @@ static picture_t *UYVY_I422_Filter ( filter_t *, picture_t * );
*****************************************************************************/
vlc_module_begin ()
set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) )
set_capability( "video filter2", 80 )
set_capability( "video filter", 80 )
set_callbacks( Activate, NULL )
vlc_module_end ()
......
......@@ -77,7 +77,7 @@ vlc_module_begin ()
set_shortname( N_("Image adjust" ))
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
add_float_with_range( "contrast", 1.0, 0.0, 2.0,
CONT_TEXT, CONT_LONGTEXT, false )
......
......@@ -65,7 +65,7 @@ vlc_module_begin ()
set_help( ALPHAMASK_HELP )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
add_shortcut( "alphamask", "mask" )
set_callbacks( Create, Destroy )
......
......@@ -72,7 +72,7 @@ vlc_module_begin()
set_shortname(N_("Anaglyph"))
set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER)
set_capability("video filter2", 0)
set_capability("video filter", 0)
add_string(FILTER_PREFIX "scheme", "red-cyan", SCHEME_TEXT, SCHEME_LONGTEXT, false)
change_string_list(ppsz_scheme_values, ppsz_scheme_descriptions)
set_callbacks(Create, Destroy)
......
......@@ -65,7 +65,7 @@ static void Destroy ( vlc_object_t * );
vlc_module_begin ()
set_description( N_("antiflicker video filter") )
set_shortname( N_( "antiflicker" ))
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
......
......@@ -93,7 +93,7 @@ vlc_module_begin ()
/* video output filter submodule */
add_submodule ()
set_capability("video filter2", 0)
set_capability("video filter", 0)
set_callbacks(OpenVideo, Close)
set_description(N_("Audio Bar Graph Video sub source"))
add_shortcut("audiobargraph_v")
......
......@@ -123,7 +123,7 @@ vlc_module_begin ()
set_description( N_("Ball video filter") )
set_shortname( N_( "Ball" ))
set_help(BALL_HELP)
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
......
......@@ -75,7 +75,7 @@ vlc_module_begin ()
set_shortname( N_("Blendbench" ))
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_section( N_("Benchmarking"), NULL )
add_integer( CFG_PREFIX "loops", 1000, LOOPS_TEXT,
......
......@@ -79,7 +79,7 @@ vlc_module_begin ()
set_help( BLUESCREEN_HELP )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
add_shortcut( "bluescreen" )
set_callbacks( Create, Destroy )
......
......@@ -103,7 +103,7 @@ static picture_t *Filter( filter_t *, picture_t * );
vlc_module_begin ()
set_shortname( N_("Canvas") )
set_description( N_("Canvas video filter") )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_help( CANVAS_HELP )
set_callbacks( Activate, Destroy )
......
......@@ -71,7 +71,7 @@ vlc_module_begin ()
set_help(COLOR_HELP)
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
add_rgb( CFG_PREFIX "color", 0x00FF0000, COLOR_TEXT,
COLOR_LONGTEXT, false )
change_integer_list( pi_color_values, ppsz_color_descriptions )
......
......@@ -77,7 +77,7 @@ static picture_t *Filter( filter_t *, picture_t * );
vlc_module_begin ()
set_shortname( N_("Croppadd") )
set_description( N_("Video cropping filter") )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_callbacks( OpenFilter, CloseFilter )
set_category( CAT_VIDEO )
......
......@@ -95,7 +95,7 @@
vlc_module_begin ()
set_description( N_("Deinterlacing video filter") )
set_shortname( N_("Deinterlace" ))
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
......@@ -269,7 +269,7 @@ static void GetOutputFormat( filter_t *p_filter,
}
/*****************************************************************************
* video filter2 functions
* video filter functions
*****************************************************************************/
#define DEINTERLACE_DST_SIZE 3
......
......@@ -124,7 +124,7 @@ struct filter_sys_t
};
/*****************************************************************************
* video filter2 functions
* video filter functions
*****************************************************************************/
/**
......@@ -246,7 +246,7 @@ void Close( vlc_object_t *p_this );
/**
* \file
* Deinterlacer plugin for vlc. Data structures and video filter2 functions.
* Deinterlacer plugin for vlc. Data structures and video filter functions.
*
* Note on i_frame_offset:
*
......
......@@ -72,7 +72,7 @@ vlc_module_begin ()
set_help( EDGE_DETECTION_LONGTEXT )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_callbacks( Open, Close )
vlc_module_end ()
......
......@@ -67,7 +67,7 @@ static int EraseCallback( vlc_object_t *, char const *,
vlc_module_begin ()
set_description( N_("Erase video filter") )
set_shortname( N_( "Erase" ))
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_help(ERASE_HELP)
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
......
......@@ -75,7 +75,7 @@ vlc_module_begin ()
set_shortname( N_("Extract" ))
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
add_shortcut( "extract" )
add_integer_with_range( FILTER_PREFIX "component", 0xFF0000, 1, 0xFFFFFF,
......
......@@ -43,7 +43,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_picture);
vlc_module_begin ()
set_description( N_("FPS conversion video filter") )
set_shortname( N_("FPS Converter" ))
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
......
......@@ -76,7 +76,7 @@ static void Close( vlc_object_t * );
vlc_module_begin()
set_description( N_("Freezing interactive video filter") )
set_shortname( N_("Freeze" ) )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
......
......@@ -60,7 +60,7 @@ vlc_module_begin ()
set_description( N_("Gaussian blur video filter") )
set_shortname( N_( "Gaussian Blur" ))
set_help(GAUSSIAN_HELP)
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
......
......@@ -58,7 +58,7 @@ vlc_module_begin()
set_description(N_("Gradfun video filter"))
set_shortname(N_("Gradfun"))
set_help(N_("Debanding algorithm"))
set_capability("video filter2", 0)
set_capability("video filter", 0)
set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER)
add_integer_with_range(CFG_PREFIX "radius", 16, RADIUS_MIN, RADIUS_MAX,
......
......@@ -81,7 +81,7 @@ vlc_module_begin ()
set_description( N_("Gradient video filter") )
set_shortname( N_( "Gradient" ))
set_help(GRADIENT_HELP)
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
......
......@@ -64,7 +64,7 @@ vlc_module_begin()
set_description(N_("Grain video filter"))
set_shortname( N_("Grain"))
set_help(N_("Adds filtered gaussian noise"))
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER)
add_float_with_range(CFG_PREFIX "variance", 2.0, VARIANCE_MIN, VARIANCE_MAX,
......
......@@ -61,7 +61,7 @@ static int DenoiseCallback( vlc_object_t *p_this, char const *psz_var,
vlc_module_begin()
set_shortname(N_("HQ Denoiser 3D"))
set_description(N_("High Quality 3D Denoiser filter"))
set_capability("video filter2", 0)
set_capability("video filter", 0)
set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER)
......
......@@ -51,7 +51,7 @@ vlc_module_begin ()
set_shortname( N_("Color inversion" ))
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
add_shortcut( "invert" )
set_callbacks( Create, Destroy )
vlc_module_end ()
......
......@@ -106,7 +106,7 @@ vlc_module_begin ()
/* video output filter submodule */
add_submodule ()
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_callbacks( OpenVideo, Close )
set_description( N_("Logo video filter") )
add_shortcut( "logo" )
......
......@@ -46,7 +46,7 @@ static void Destroy ( vlc_object_t * );
vlc_module_begin ()
set_description( N_("Magnify/Zoom interactive video filter") )
set_shortname( N_( "Magnify" ))
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
......
......@@ -81,7 +81,7 @@ vlc_module_begin ()
set_help( N_("Splits video in two same parts, like in a mirror") )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
add_integer( CFG_PREFIX "split", 0, ORIENTATION_TEXT,
ORIENTATION_LONGTEXT, false )
change_integer_list( pi_orientation_values,
......
......@@ -58,7 +58,7 @@ static int MotionBlurCallback( vlc_object_t *, char const *,
vlc_module_begin ()
set_shortname( N_("Motion blur") )
set_description( N_("Motion blur filter") )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
......
......@@ -49,7 +49,7 @@ vlc_module_begin ()
set_shortname( N_( "Motion Detect" ))
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
add_shortcut( "motion" )
set_callbacks( Create, Destroy )
......
......@@ -177,7 +177,7 @@ static void Close( vlc_object_t * );
vlc_module_begin()
set_description( N_("Old movie effect video filter") )
set_shortname( N_( "Old movie" ))
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
......
......@@ -74,7 +74,7 @@ vlc_module_begin ()
set_shortname( N_("OpenCV" ))
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
add_shortcut( "opencv_wrapper" )
set_callbacks( Create, Destroy )
add_float_with_range( "opencv-scale", 1.0, 0.1, 2.0,
......
......@@ -69,7 +69,7 @@ vlc_module_begin ()
set_help( N_("Posterize video by lowering the number of colors") )
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
add_integer_with_range( CFG_PREFIX "level", 6, 2, 256,
POSTERIZE_LEVEL_TEXT, POSTERIZE_LEVEL_LONGTEXT,
false )
......
......@@ -87,7 +87,7 @@ vlc_module_begin ()
set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_callbacks( OpenPostproc, ClosePostproc )
......
......@@ -53,7 +53,7 @@ static picture_t *Filter( filter_t *, picture_t * );
vlc_module_begin ()
set_description( N_("Psychedelic video filter") )
set_shortname( N_( "Psychedelic" ))
set_capability( "video filter2", 0 )
set_capability( "video filter", 0 )
set_category( CAT_VIDEO )