static picture_t *ImageRead( image_handler_t *, block_t *,
video_format_t *, video_format_t * );
static picture_t *ImageRead( image_handler_t *, block_t *,
video_format_t *, video_format_t * );
- p_filter = vlc_object_create( p_this, sizeof(filter_t) );
+ p_filter = vlc_custom_create( p_this, sizeof(filter_t),
+ VLC_OBJECT_GENERIC, typename );
vlc_object_attach( p_filter, p_this );
p_filter->pf_vout_buffer_new =
vlc_object_attach( p_filter, p_this );
p_filter->pf_vout_buffer_new =