# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_sout.h>
#include <vlc_vout.h>
#define CFG_PREFIX "blendbench-"
vlc_module_begin();
- set_description( _("Blending benchmark filter") );
- set_shortname( _("blendbench" ));
+ set_description( N_("Blending benchmark filter") );
+ set_shortname( N_("blendbench" ));
set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VFILTER );
set_capability( "video filter2", 0 );
set_callbacks( Create, Destroy );
vlc_module_end();
-static const char *ppsz_filter_options[] = {
+static const char *const ppsz_filter_options[] = {
"loops", "alpha", "base-image", "base-chroma", "blend-image",
"blend-chroma", NULL
};
if( p_sys->b_done )
return p_pic;
- p_blend = vlc_object_create( p_filter, VLC_OBJECT_FILTER );
+ p_blend = vlc_object_create( p_filter, sizeof(filter_t) );
if( !p_blend )
{
p_pic->pf_release( p_pic );