]> git.sesse.net Git - mlt/blobdiff - src/modules/oldfilm/filter_grain.c
framework: remove global profile, rather share one mlt_profile across a service netwo...
[mlt] / src / modules / oldfilm / filter_grain.c
index 1795dac2f6cb9a401bbc6e95be443bdf3b8d8958..7557dd4079c6cb31d8914a43180e0a5bc51f3c9e 100644 (file)
@@ -17,8 +17,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "filter_grain.h"
-
+#include <framework/mlt_filter.h>
 #include <framework/mlt_frame.h>
 
 #include <stdio.h>
@@ -61,7 +60,7 @@ static mlt_frame filter_process( mlt_filter this, mlt_frame frame )
        return frame;
 }
 
-mlt_filter filter_grain_init( char *arg )
+mlt_filter filter_grain_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg )
 {
        mlt_filter this = mlt_filter_new( );
        if ( this != NULL )