X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Favformat%2Ffactory.c;h=b2a836be17e68a84271a56899d92c2f6da120566;hb=bf3264b9e340ba5c11cbf59835a8af3db94e0cc2;hp=4ec946cc685b52330233c5f560aa002007ea3f92;hpb=3e021eb2f553fada306bc4879fabda445e75450d;p=melted diff --git a/src/modules/avformat/factory.c b/src/modules/avformat/factory.c index 4ec946c..b2a836b 100644 --- a/src/modules/avformat/factory.c +++ b/src/modules/avformat/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 @@ -87,6 +87,7 @@ static void avformat_init( ) pthread_mutex_init( &avformat_mutex, NULL ); av_register_all( ); mlt_factory_register_for_clean_up( NULL, avformat_destroy ); + av_log_set_level( -1 ); } } @@ -103,8 +104,10 @@ void *mlt_create_filter( char *id, void *arg ) avformat_init( ); if ( !strcmp( id, "avcolour_space" ) ) return filter_avcolour_space_init( arg ); +#ifdef USE_MMX if ( !strcmp( id, "avdeinterlace" ) ) return filter_avdeinterlace_init( arg ); +#endif if ( !strcmp( id, "avresample" ) ) return filter_avresample_init( arg ); return NULL;