]> git.sesse.net Git - mlt/blobdiff - src/modules/core/filter_greyscale.c
framework: remove global profile, rather share one mlt_profile across a service netwo...
[mlt] / src / modules / core / filter_greyscale.c
index d799e72d1ac320e8af2e1950686101655a1965d6..fd618c09aa02140c0e42dfbebde81b196f4fc466 100644 (file)
@@ -18,8 +18,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "filter_greyscale.h"
-
+#include <framework/mlt_filter.h>
 #include <framework/mlt_frame.h>
 
 #include <stdio.h>
@@ -53,7 +52,7 @@ static mlt_frame filter_process( mlt_filter this, mlt_frame frame )
 /** Constructor for the filter.
 */
 
-mlt_filter filter_greyscale_init( void *arg )
+mlt_filter filter_greyscale_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg )
 {
        mlt_filter this = mlt_filter_new( );
        if ( this != NULL )