X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fcore%2Ffactory.c;h=21f7bb05fe9a557780c6d772fa2fbd9f470c6327;hb=bf3264b9e340ba5c11cbf59835a8af3db94e0cc2;hp=2d3f55a6d6fdb457858495c672a6838577d6fc4b;hpb=0b6d1073cc02530ef10e8880c855b042b41d0bf3;p=melted diff --git a/src/modules/core/factory.c b/src/modules/core/factory.c index 2d3f55a..21f7bb0 100644 --- a/src/modules/core/factory.c +++ b/src/modules/core/factory.c @@ -3,26 +3,28 @@ * Copyright (C) 2003-2004 Ushodaya Enterprises Limited * Author: Charles Yates * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include #include "producer_colour.h" +#include "producer_framebuffer.h" #include "producer_noise.h" #include "producer_ppm.h" +#include "filter_boxblur.h" #include "filter_brightness.h" #include "filter_channelcopy.h" #include "filter_data.h" @@ -37,6 +39,7 @@ #include "filter_region.h" #include "filter_transition.h" #include "filter_watermark.h" +#include "filter_wave.h" #include "transition_composite.h" #include "transition_luma.h" #include "transition_mix.h" @@ -60,6 +63,8 @@ void *mlt_create_producer( char *id, void *arg ) void *mlt_create_filter( char *id, void *arg ) { + if ( !strcmp( id, "boxblur" ) ) + return filter_boxblur_init( arg ); if ( !strcmp( id, "brightness" ) ) return filter_brightness_init( arg ); if ( !strcmp( id, "channelcopy" ) ) @@ -90,6 +95,8 @@ void *mlt_create_filter( char *id, void *arg ) return filter_transition_init( arg ); if ( !strcmp( id, "watermark" ) ) return filter_watermark_init( arg ); + if ( !strcmp( id, "wave" ) ) + return filter_wave_init( arg ); return NULL; }