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_ ...@@ -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 ) 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) int64_t libvlc_clock(void)
......
...@@ -32,7 +32,7 @@ static int Open (vlc_object_t *); ...@@ -32,7 +32,7 @@ static int Open (vlc_object_t *);
vlc_module_begin () vlc_module_begin ()
set_description (N_("ARM NEON video chroma conversions")) set_description (N_("ARM NEON video chroma conversions"))
set_capability ("video filter2", 250) set_capability ("video filter", 250)
set_callbacks (Open, NULL) set_callbacks (Open, NULL)
vlc_module_end () vlc_module_end ()
......
...@@ -33,7 +33,7 @@ static int Open (vlc_object_t *); ...@@ -33,7 +33,7 @@ static int Open (vlc_object_t *);
vlc_module_begin () vlc_module_begin ()
set_description (N_("ARM NEON video chroma YUV->RGBA")) set_description (N_("ARM NEON video chroma YUV->RGBA"))
set_capability ("video filter2", 250) set_capability ("video filter", 250)
set_callbacks (Open, NULL) set_callbacks (Open, NULL)
vlc_module_end () vlc_module_end ()
......
...@@ -231,7 +231,7 @@ static filter_t *CreateFilter( vlc_object_t *p_this, const es_format_t *p_fmt_in ...@@ -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 ); 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_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->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 ) 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 ...@@ -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 ); 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_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->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 ) if( !p_filter->p_module )
{ {
......
...@@ -735,7 +735,7 @@ static int BossCallback(vlc_object_t *p_this, const char *psz_var, ...@@ -735,7 +735,7 @@ static int BossCallback(vlc_object_t *p_this, const char *psz_var,
if (module_provides(p_obj, "video splitter")) { if (module_provides(p_obj, "video splitter")) {
return "video-splitter"; return "video-splitter";
} else if (module_provides(p_obj, "video filter2")) { } else if (module_provides(p_obj, "video filter")) {
return "video-filter"; return "video-filter";
} else if (module_provides(p_obj, "sub source")) { } else if (module_provides(p_obj, "sub source")) {
return "sub-source"; return "sub-source";
......
...@@ -347,7 +347,7 @@ static const char* GetVFilterType( struct intf_thread_t *p_intf, const char *psz ...@@ -347,7 +347,7 @@ static const char* GetVFilterType( struct intf_thread_t *p_intf, const char *psz
if( module_provides( p_obj, "video splitter" ) ) if( module_provides( p_obj, "video splitter" ) )
return "video-splitter"; return "video-splitter";
else if( module_provides( p_obj, "video filter2" ) ) else if( module_provides( p_obj, "video filter" ) )
return "video-filter"; return "video-filter";
else if( module_provides( p_obj, "sub source" ) ) else if( module_provides( p_obj, "sub source" ) )
return "sub-source"; return "sub-source";
......
...@@ -495,7 +495,7 @@ inline void VLCProfileEditor::registerFilters() ...@@ -495,7 +495,7 @@ inline void VLCProfileEditor::registerFilters()
QListWidget *listWidget = NULL; QListWidget *listWidget = NULL;
QListWidgetItem *item; QListWidgetItem *item;
if ( capability == "video filter2" ) if ( capability == "video filter" )
listWidget = ui.valueholder_video_filters; listWidget = ui.valueholder_video_filters;
else if ( capability == "audio filter" ) else if ( capability == "audio filter" )
listWidget = ui.valueholder_audio_filters; listWidget = ui.valueholder_audio_filters;
......
...@@ -47,7 +47,7 @@ static void Close(filter_t *filter); ...@@ -47,7 +47,7 @@ static void Close(filter_t *filter);
vlc_module_begin() vlc_module_begin()
set_shortname(N_("MMAL deinterlace")) set_shortname(N_("MMAL deinterlace"))
set_description(N_("MMAL-based deinterlace filter plugin")) set_description(N_("MMAL-based deinterlace filter plugin"))
set_capability("video filter2", 10) set_capability("video filter", 10)
set_category(CAT_VIDEO) set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER) set_subcategory(SUBCAT_VIDEO_VFILTER)
set_callbacks(Open, Close) set_callbacks(Open, Close)
......
...@@ -186,7 +186,7 @@ vlc_module_begin() ...@@ -186,7 +186,7 @@ vlc_module_begin()
set_description(N_("VDPAU adjust video filter")) set_description(N_("VDPAU adjust video filter"))
set_category(CAT_VIDEO) set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER) set_subcategory(SUBCAT_VIDEO_VFILTER)
set_capability("video filter2", 0) set_capability("video filter", 0)
add_shortcut("adjust") add_shortcut("adjust")
set_callbacks(Open, Close) set_callbacks(Open, Close)
vlc_module_end() vlc_module_end()
...@@ -809,7 +809,7 @@ static const char *const algo_names[] = { ...@@ -809,7 +809,7 @@ static const char *const algo_names[] = {
vlc_module_begin() vlc_module_begin()
set_shortname(N_("VDPAU")) set_shortname(N_("VDPAU"))
set_description(N_("VDPAU surface conversions")) set_description(N_("VDPAU surface conversions"))
set_capability("video filter2", 10) set_capability("video filter", 10)
set_category(CAT_VIDEO) set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER) set_subcategory(SUBCAT_VIDEO_VFILTER)
set_callbacks(OutputOpen, OutputClose) set_callbacks(OutputOpen, OutputClose)
......
...@@ -131,7 +131,7 @@ static void Close(vlc_object_t *obj) ...@@ -131,7 +131,7 @@ static void Close(vlc_object_t *obj)
vlc_module_begin() vlc_module_begin()
set_description(N_("VDPAU deinterlacing filter")) set_description(N_("VDPAU deinterlacing filter"))
set_capability("video filter2", 0) set_capability("video filter", 0)
set_category(CAT_VIDEO) set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER) set_subcategory(SUBCAT_VIDEO_VFILTER)
set_callbacks(Open, Close) set_callbacks(Open, Close)
......
...@@ -142,7 +142,7 @@ vlc_module_begin() ...@@ -142,7 +142,7 @@ vlc_module_begin()
set_description(N_("VDPAU sharpen video filter")) set_description(N_("VDPAU sharpen video filter"))
set_category(CAT_VIDEO) set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER) set_subcategory(SUBCAT_VIDEO_VFILTER)
set_capability("video filter2", 0) set_capability("video filter", 0)
add_shortcut("sharpen") add_shortcut("sharpen")
set_callbacks(Open, Close) set_callbacks(Open, Close)
vlc_module_end() vlc_module_end()
...@@ -151,7 +151,7 @@ vlc_module_begin () ...@@ -151,7 +151,7 @@ vlc_module_begin ()
add_string( CFG_PREFIX "chroma", NULL, CHROMA_TEXT, CHROMA_LONGTEXT, add_string( CFG_PREFIX "chroma", NULL, CHROMA_TEXT, CHROMA_LONGTEXT,
false ) false )
add_module_list( CFG_PREFIX "vfilter", "video filter2", add_module_list( CFG_PREFIX "vfilter", "video filter",
NULL, VFILTER_TEXT, VFILTER_LONGTEXT, false ) NULL, VFILTER_TEXT, VFILTER_LONGTEXT, false )
add_integer_with_range( CFG_PREFIX "alpha", 255, 0, 255, add_integer_with_range( CFG_PREFIX "alpha", 255, 0, 255,
......
...@@ -177,7 +177,7 @@ vlc_module_begin () ...@@ -177,7 +177,7 @@ vlc_module_begin ()
MAXWIDTH_LONGTEXT, true ) MAXWIDTH_LONGTEXT, true )
add_integer( SOUT_CFG_PREFIX "maxheight", 0, MAXHEIGHT_TEXT, add_integer( SOUT_CFG_PREFIX "maxheight", 0, MAXHEIGHT_TEXT,
MAXHEIGHT_LONGTEXT, true ) 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 ) NULL, VFILTER_TEXT, VFILTER_LONGTEXT, false )
set_section( N_("Audio"), NULL ) set_section( N_("Audio"), NULL )
......
...@@ -41,7 +41,7 @@ static void Destroy ( vlc_object_t * ); ...@@ -41,7 +41,7 @@ static void Destroy ( vlc_object_t * );
vlc_module_begin () vlc_module_begin ()
set_description( N_("Video filtering using a chain of video filter modules") ) 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 ) set_callbacks( Activate, Destroy )
vlc_module_end () vlc_module_end ()
......
...@@ -43,7 +43,7 @@ static picture_t *CVPX_I420_Filter( filter_t *, picture_t * ); ...@@ -43,7 +43,7 @@ static picture_t *CVPX_I420_Filter( filter_t *, picture_t * );
vlc_module_begin () vlc_module_begin ()
set_description( N_("Conversions from CoreVideo buffers to I420") ) set_description( N_("Conversions from CoreVideo buffers to I420") )
set_capability( "video filter2", 10 ) set_capability( "video filter", 10 )
set_callbacks( Activate, NULL ) set_callbacks( Activate, NULL )
vlc_module_end () vlc_module_end ()
......
...@@ -43,7 +43,7 @@ static void CloseConverter( vlc_object_t * ); ...@@ -43,7 +43,7 @@ static void CloseConverter( vlc_object_t * );
*****************************************************************************/ *****************************************************************************/
vlc_module_begin () vlc_module_begin ()
set_description( N_("Conversions from D3D11 to YUV") ) set_description( N_("Conversions from D3D11 to YUV") )
set_capability( "video filter2", 10 ) set_capability( "video filter", 10 )
set_callbacks( OpenConverter, CloseConverter ) set_callbacks( OpenConverter, CloseConverter )
vlc_module_end () vlc_module_end ()
......
...@@ -43,7 +43,7 @@ static void CloseConverter( vlc_object_t * ); ...@@ -43,7 +43,7 @@ static void CloseConverter( vlc_object_t * );
*****************************************************************************/ *****************************************************************************/
vlc_module_begin () vlc_module_begin ()
set_description( N_("Conversions from DxVA2 to YUV") ) set_description( N_("Conversions from DxVA2 to YUV") )
set_capability( "video filter2", 10 ) set_capability( "video filter", 10 )
set_callbacks( OpenConverter, CloseConverter ) set_callbacks( OpenConverter, CloseConverter )
vlc_module_end () vlc_module_end ()
......
...@@ -52,7 +52,7 @@ static picture_t *GREY_YUY2_Filter( filter_t *, picture_t * ); ...@@ -52,7 +52,7 @@ static picture_t *GREY_YUY2_Filter( filter_t *, picture_t * );
*****************************************************************************/ *****************************************************************************/
vlc_module_begin () vlc_module_begin ()
set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) ) set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) )
set_capability( "video filter2", 80 ) set_capability( "video filter", 80 )
set_callbacks( Activate, NULL ) set_callbacks( Activate, NULL )
vlc_module_end () vlc_module_end ()
......
...@@ -127,6 +127,6 @@ static void I420_10_P010( filter_t *p_filter, picture_t *p_src, ...@@ -127,6 +127,6 @@ static void I420_10_P010( filter_t *p_filter, picture_t *p_src,
*****************************************************************************/ *****************************************************************************/
vlc_module_begin () vlc_module_begin ()
set_description( N_("YUV 10-bits planar to semiplanar 10-bits conversions") ) 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 ) set_callbacks( Create, Delete )
vlc_module_end () vlc_module_end ()
...@@ -159,6 +159,6 @@ static void YV12_NV12( filter_t *p_filter, picture_t *p_src, ...@@ -159,6 +159,6 @@ static void YV12_NV12( filter_t *p_filter, picture_t *p_src,
*****************************************************************************/ *****************************************************************************/
vlc_module_begin () vlc_module_begin ()
set_description( N_("YUV planar to semiplanar conversions") ) set_description( N_("YUV planar to semiplanar conversions") )
set_capability( "video filter2", 160 ) set_capability( "video filter", 160 )
set_callbacks( Create, Delete ) set_callbacks( Create, Delete )
vlc_module_end () vlc_module_end ()
...@@ -77,17 +77,17 @@ vlc_module_begin () ...@@ -77,17 +77,17 @@ vlc_module_begin ()
#if defined (SSE2) #if defined (SSE2)
set_description( N_( "SSE2 I420,IYUV,YV12 to " set_description( N_( "SSE2 I420,IYUV,YV12 to "
"RV15,RV16,RV24,RV32 conversions") ) "RV15,RV16,RV24,RV32 conversions") )
set_capability( "video filter2", 120 ) set_capability( "video filter", 120 )
# define vlc_CPU_capable() vlc_CPU_SSE2() # define vlc_CPU_capable() vlc_CPU_SSE2()
#elif defined (MMX) #elif defined (MMX)
set_description( N_( "MMX I420,IYUV,YV12 to " set_description( N_( "MMX I420,IYUV,YV12 to "
"RV15,RV16,RV24,RV32 conversions") ) "RV15,RV16,RV24,RV32 conversions") )
set_capability( "video filter2", 100 ) set_capability( "video filter", 100 )
# define vlc_CPU_capable() vlc_CPU_MMX() # define vlc_CPU_capable() vlc_CPU_MMX()
#else #else
set_description( N_("I420,IYUV,YV12 to " set_description( N_("I420,IYUV,YV12 to "
"RGB2,RV15,RV16,RV24,RV32 conversions") ) "RGB2,RV15,RV16,RV24,RV32 conversions") )
set_capability( "video filter2", 80 ) set_capability( "video filter", 80 )
# define vlc_CPU_capable() (true) # define vlc_CPU_capable() (true)
#endif #endif
set_callbacks( Activate, Deactivate ) set_callbacks( Activate, Deactivate )
......
...@@ -89,20 +89,20 @@ static const uint64_t i_80w = 0x0000000080808080ULL; ...@@ -89,20 +89,20 @@ static const uint64_t i_80w = 0x0000000080808080ULL;
vlc_module_begin () vlc_module_begin ()
#if defined (MODULE_NAME_IS_i420_yuy2) #if defined (MODULE_NAME_IS_i420_yuy2)
set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) ) 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_CPU_capable() (true)
#elif defined (MODULE_NAME_IS_i420_yuy2_mmx) #elif defined (MODULE_NAME_IS_i420_yuy2_mmx)
set_description( N_("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) ) 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() # define vlc_CPU_capable() vlc_CPU_MMX()
#elif defined (MODULE_NAME_IS_i420_yuy2_sse2) #elif defined (MODULE_NAME_IS_i420_yuy2_sse2)
set_description( N_("SSE2 conversions from " SRC_FOURCC " to " DEST_FOURCC) ) 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() # define vlc_CPU_capable() vlc_CPU_SSE2()
#elif defined (MODULE_NAME_IS_i420_yuy2_altivec) #elif defined (MODULE_NAME_IS_i420_yuy2_altivec)
set_description( set_description(
_("AltiVec conversions from " SRC_FOURCC " to " DEST_FOURCC) ); _("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() # define vlc_CPU_capable() vlc_CPU_ALTIVEC()
#endif #endif
set_callbacks( Activate, NULL ) set_callbacks( Activate, NULL )
......
...@@ -54,7 +54,7 @@ static picture_t *I422_YUVA_Filter( filter_t *, picture_t * ); ...@@ -54,7 +54,7 @@ static picture_t *I422_YUVA_Filter( filter_t *, picture_t * );
*****************************************************************************/ *****************************************************************************/
vlc_module_begin () vlc_module_begin ()
set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) ) set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) )
set_capability( "video filter2", 60 ) set_capability( "video filter", 60 )
set_callbacks( Activate, NULL ) set_callbacks( Activate, NULL )
vlc_module_end () vlc_module_end ()
......
...@@ -68,17 +68,17 @@ static picture_t *I422_Y211_Filter ( filter_t *, picture_t * ); ...@@ -68,17 +68,17 @@ static picture_t *I422_Y211_Filter ( filter_t *, picture_t * );
vlc_module_begin () vlc_module_begin ()
#if defined (MODULE_NAME_IS_i422_yuy2) #if defined (MODULE_NAME_IS_i422_yuy2)
set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) ) 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_CPU_capable() (true)
# define VLC_TARGET # define VLC_TARGET
#elif defined (MODULE_NAME_IS_i422_yuy2_mmx) #elif defined (MODULE_NAME_IS_i422_yuy2_mmx)
set_description( N_("MMX conversions from " SRC_FOURCC " to " DEST_FOURCC) ) 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_CPU_capable() vlc_CPU_MMX()
# define VLC_TARGET VLC_MMX # define VLC_TARGET VLC_MMX
#elif defined (MODULE_NAME_IS_i422_yuy2_sse2) #elif defined (MODULE_NAME_IS_i422_yuy2_sse2)
set_description( N_("SSE2 conversions from " SRC_FOURCC " to " DEST_FOURCC) ) 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_CPU_capable() vlc_CPU_SSE2()
# define VLC_TARGET VLC_SSE # define VLC_TARGET VLC_SSE
#endif #endif
......
...@@ -33,7 +33,7 @@ static int OpenScaler (vlc_object_t *); ...@@ -33,7 +33,7 @@ static int OpenScaler (vlc_object_t *);
vlc_module_begin () vlc_module_begin ()
set_description (N_("OpenMAX DL image processing")) set_description (N_("OpenMAX DL image processing"))
set_capability ("video filter2", 90) set_capability ("video filter", 90)
set_callbacks (Open, NULL) set_callbacks (Open, NULL)
vlc_module_end () vlc_module_end ()
......
...@@ -43,7 +43,7 @@ static picture_t *Filter( filter_t *, picture_t * ); ...@@ -43,7 +43,7 @@ static picture_t *Filter( filter_t *, picture_t * );
*****************************************************************************/ *****************************************************************************/
vlc_module_begin () vlc_module_begin ()
set_description( N_("RV32 conversion filter") ) set_description( N_("RV32 conversion filter") )
set_capability( "video filter2", 1 ) set_capability( "video filter", 1 )
set_callbacks( OpenFilter, NULL ) set_callbacks( OpenFilter, NULL )
vlc_module_end () vlc_module_end ()
......
...@@ -67,7 +67,7 @@ const char *const ppsz_mode_descriptions[] = ...@@ -67,7 +67,7 @@ const char *const ppsz_mode_descriptions[] =
vlc_module_begin () vlc_module_begin ()
set_description( N_("Video scaling filter") ) set_description( N_("Video scaling filter") )
set_shortname( N_("Swscale" ) ) set_shortname( N_("Swscale" ) )
set_capability( "video filter2", 150 ) set_capability( "video filter", 150 )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
set_callbacks( OpenScaler, CloseScaler ) set_callbacks( OpenScaler, CloseScaler )
......
...@@ -45,7 +45,7 @@ static void Close( vlc_object_t * ); ...@@ -45,7 +45,7 @@ static void Close( vlc_object_t * );
vlc_module_begin () vlc_module_begin ()
set_description( N_("YUVP converter") ) set_description( N_("YUVP converter") )
set_capability( "video filter2", 10 ) set_capability( "video filter", 10 )
set_callbacks( Open, Close ) set_callbacks( Open, Close )
vlc_module_end () vlc_module_end ()
......
...@@ -54,7 +54,7 @@ static picture_t *UYVY_I420_Filter ( filter_t *, picture_t * ); ...@@ -54,7 +54,7 @@ static picture_t *UYVY_I420_Filter ( filter_t *, picture_t * );
*****************************************************************************/ *****************************************************************************/
vlc_module_begin () vlc_module_begin ()
set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) ) set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) )
set_capability( "video filter2", 80 ) set_capability( "video filter", 80 )
set_callbacks( Activate, NULL ) set_callbacks( Activate, NULL )
vlc_module_end () vlc_module_end ()
......
...@@ -53,7 +53,7 @@ static picture_t *UYVY_I422_Filter ( filter_t *, picture_t * ); ...@@ -53,7 +53,7 @@ static picture_t *UYVY_I422_Filter ( filter_t *, picture_t * );
*****************************************************************************/ *****************************************************************************/
vlc_module_begin () vlc_module_begin ()
set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) ) set_description( N_("Conversions from " SRC_FOURCC " to " DEST_FOURCC) )
set_capability( "video filter2", 80 ) set_capability( "video filter", 80 )
set_callbacks( Activate, NULL ) set_callbacks( Activate, NULL )
vlc_module_end () vlc_module_end ()
......
...@@ -77,7 +77,7 @@ vlc_module_begin () ...@@ -77,7 +77,7 @@ vlc_module_begin ()
set_shortname( N_("Image adjust" )) set_shortname( N_("Image adjust" ))
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) 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, add_float_with_range( "contrast", 1.0, 0.0, 2.0,
CONT_TEXT, CONT_LONGTEXT, false ) CONT_TEXT, CONT_LONGTEXT, false )
......
...@@ -65,7 +65,7 @@ vlc_module_begin () ...@@ -65,7 +65,7 @@ vlc_module_begin ()
set_help( ALPHAMASK_HELP ) set_help( ALPHAMASK_HELP )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 ) set_capability( "video filter", 0 )
add_shortcut( "alphamask", "mask" ) add_shortcut( "alphamask", "mask" )
set_callbacks( Create, Destroy ) set_callbacks( Create, Destroy )
......
...@@ -72,7 +72,7 @@ vlc_module_begin() ...@@ -72,7 +72,7 @@ vlc_module_begin()
set_shortname(N_("Anaglyph")) set_shortname(N_("Anaglyph"))
set_category(CAT_VIDEO) set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VFILTER) 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) add_string(FILTER_PREFIX "scheme", "red-cyan", SCHEME_TEXT, SCHEME_LONGTEXT, false)
change_string_list(ppsz_scheme_values, ppsz_scheme_descriptions) change_string_list(ppsz_scheme_values, ppsz_scheme_descriptions)
set_callbacks(Create, Destroy) set_callbacks(Create, Destroy)
......
...@@ -65,7 +65,7 @@ static void Destroy ( vlc_object_t * ); ...@@ -65,7 +65,7 @@ static void Destroy ( vlc_object_t * );
vlc_module_begin () vlc_module_begin ()
set_description( N_("antiflicker video filter") ) set_description( N_("antiflicker video filter") )
set_shortname( N_( "antiflicker" )) set_shortname( N_( "antiflicker" ))
set_capability( "video filter2", 0 ) set_capability( "video filter", 0 )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
......
...@@ -93,7 +93,7 @@ vlc_module_begin () ...@@ -93,7 +93,7 @@ vlc_module_begin ()
/* video output filter submodule */ /* video output filter submodule */
add_submodule () add_submodule ()
set_capability("video filter2", 0) set_capability("video filter", 0)
set_callbacks(OpenVideo, Close) set_callbacks(OpenVideo, Close)
set_description(N_("Audio Bar Graph Video sub source")) set_description(N_("Audio Bar Graph Video sub source"))
add_shortcut("audiobargraph_v") add_shortcut("audiobargraph_v")
......
...@@ -123,7 +123,7 @@ vlc_module_begin () ...@@ -123,7 +123,7 @@ vlc_module_begin ()
set_description( N_("Ball video filter") ) set_description( N_("Ball video filter") )
set_shortname( N_( "Ball" )) set_shortname( N_( "Ball" ))
set_help(BALL_HELP) set_help(BALL_HELP)
set_capability( "video filter2", 0 ) set_capability( "video filter", 0 )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
......
...@@ -75,7 +75,7 @@ vlc_module_begin () ...@@ -75,7 +75,7 @@ vlc_module_begin ()
set_shortname( N_("Blendbench" )) set_shortname( N_("Blendbench" ))
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 ) set_capability( "video filter", 0 )
set_section( N_("Benchmarking"), NULL ) set_section( N_("Benchmarking"), NULL )
add_integer( CFG_PREFIX "loops", 1000, LOOPS_TEXT, add_integer( CFG_PREFIX "loops", 1000, LOOPS_TEXT,
......
...@@ -79,7 +79,7 @@ vlc_module_begin () ...@@ -79,7 +79,7 @@ vlc_module_begin ()
set_help( BLUESCREEN_HELP ) set_help( BLUESCREEN_HELP )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 ) set_capability( "video filter", 0 )
add_shortcut( "bluescreen" ) add_shortcut( "bluescreen" )
set_callbacks( Create, Destroy ) set_callbacks( Create, Destroy )
......
...@@ -103,7 +103,7 @@ static picture_t *Filter( filter_t *, picture_t * ); ...@@ -103,7 +103,7 @@ static picture_t *Filter( filter_t *, picture_t * );
vlc_module_begin () vlc_module_begin ()
set_shortname( N_("Canvas") ) set_shortname( N_("Canvas") )
set_description( N_("Canvas video filter") ) set_description( N_("Canvas video filter") )
set_capability( "video filter2", 0 ) set_capability( "video filter", 0 )
set_help( CANVAS_HELP ) set_help( CANVAS_HELP )
set_callbacks( Activate, Destroy ) set_callbacks( Activate, Destroy )
......
...@@ -71,7 +71,7 @@ vlc_module_begin () ...@@ -71,7 +71,7 @@ vlc_module_begin ()
set_help(COLOR_HELP) set_help(COLOR_HELP)
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
set_capability( "video filter2", 0 ) set_capability( "video filter", 0 )
add_rgb( CFG_PREFIX "color", 0x00FF0000, COLOR_TEXT, add_rgb( CFG_PREFIX "color", 0x00FF0000, COLOR_TEXT,
COLOR_LONGTEXT, false ) COLOR_LONGTEXT, false )
change_integer_list( pi_color_values, ppsz_color_descriptions ) change_integer_list( pi_color_values, ppsz_color_descriptions )
......
...@@ -77,7 +77,7 @@ static picture_t *Filter( filter_t *, picture_t * ); ...@@ -77,7 +77,7 @@ static picture_t *Filter( filter_t *, picture_t * );
vlc_module_begin () vlc_module_begin ()
set_shortname( N_("Croppadd") ) set_shortname( N_("Croppadd") )
set_description( N_("Video cropping filter") ) set_description( N_("Video cropping filter") )
set_capability( "video filter2", 0 ) set_capability( "video filter", 0 )
set_callbacks( OpenFilter, CloseFilter ) set_callbacks( OpenFilter, CloseFilter )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
vlc_module_begin () vlc_module_begin ()
set_description( N_("Deinterlacing video filter") ) set_description( N_("Deinterlacing video filter") )
set_shortname( N_("Deinterlace" )) set_shortname( N_("Deinterlace" ))
set_capability( "video filter2", 0 ) set_capability( "video filter", 0 )
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_VFILTER ) set_subcategory( SUBCAT_VIDEO_VFILTER )
...@@ -269,7 +269,7 @@ static void GetOutputFormat( filter_t *p_filter,