X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fcore%2Ffactory.c;h=c90a6654dc74c19502b85610b6177c31e813f39d;hb=b5bf7e90101c8ff6efd2a1e993673e4f56735caf;hp=860b64aeea2d95c1f9ba409159f921fc48dabaf5;hpb=eccf04749681f70957f34fdd6742224774e72d15;p=melted diff --git a/src/modules/core/factory.c b/src/modules/core/factory.c index 860b64a..c90a665 100644 --- a/src/modules/core/factory.c +++ b/src/modules/core/factory.c @@ -3,19 +3,19 @@ * 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 @@ -30,6 +30,7 @@ #include "filter_greyscale.h" #include "filter_luma.h" #include "filter_mirror.h" +#include "filter_mono.h" #include "filter_obscure.h" #include "filter_rescale.h" #include "filter_resize.h" @@ -73,6 +74,8 @@ void *mlt_create_filter( char *id, void *arg ) return filter_luma_init( arg ); if ( !strcmp( id, "mirror" ) ) return filter_mirror_init( arg ); + if ( !strcmp( id, "mono" ) ) + return filter_mono_init( arg ); if ( !strcmp( id, "obscure" ) ) return filter_obscure_init( arg ); if ( !strcmp( id, "region" ) )