X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fcore%2Ffilter_region.c;h=392faecaefef2e18eb4da338df1f39b395d28ba8;hb=bf3264b9e340ba5c11cbf59835a8af3db94e0cc2;hp=db69b661f193004dc1e2d48cbb12c746206ffce6;hpb=363d095af9149cc181e92a35d2e34e583d061747;p=melted diff --git a/src/modules/core/filter_region.c b/src/modules/core/filter_region.c index db69b66..392faec 100644 --- a/src/modules/core/filter_region.c +++ b/src/modules/core/filter_region.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 "filter_region.h" @@ -33,7 +33,7 @@ static mlt_frame filter_process( mlt_filter this, mlt_frame frame ) { // Get the properties of the filter - mlt_properties properties = mlt_filter_properties( this ); + mlt_properties properties = MLT_FILTER_PROPERTIES( this ); // Get the region transition mlt_transition transition = mlt_properties_get_data( properties, "_transition", NULL ); @@ -48,11 +48,11 @@ static mlt_frame filter_process( mlt_filter this, mlt_frame frame ) mlt_properties_set_data( properties, "_transition", transition, 0, ( mlt_destructor )mlt_transition_close, NULL ); // Pass a reference to this filter down - mlt_properties_set_data( mlt_transition_properties( transition ), "_region_filter", this, 0, NULL, NULL ); + mlt_properties_set_data( MLT_TRANSITION_PROPERTIES( transition ), "_region_filter", this, 0, NULL, NULL ); } // Pass all properties down - mlt_properties_pass( mlt_transition_properties( transition ), properties, "" ); + mlt_properties_pass( MLT_TRANSITION_PROPERTIES( transition ), properties, "" ); // Process the frame return mlt_transition_process( transition, frame, NULL ); @@ -70,7 +70,7 @@ mlt_filter filter_region_init( void *arg ) if ( this != NULL ) { // Get the properties from the filter - mlt_properties properties = mlt_filter_properties( this ); + mlt_properties properties = MLT_FILTER_PROPERTIES( this ); // Assign the filter process method this->process = filter_process;