X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fsrc%2FMltFactory.cpp;fp=mlt%2B%2B%2Fsrc%2FMltFactory.cpp;h=38a4200ee4dc39c8941c6695e063c64eea6c8412;hb=2085323abc65a3325b4e9f1a9733dcf126756862;hp=f32018a46e3458f4f51ab7dcf7d09bcb669aa6d3;hpb=9d109a9d7b686b816aa70f1befc55801bffe261f;p=melted diff --git a/mlt++/src/MltFactory.cpp b/mlt++/src/MltFactory.cpp index f32018a..38a4200 100644 --- a/mlt++/src/MltFactory.cpp +++ b/mlt++/src/MltFactory.cpp @@ -1,6 +1,7 @@ /** * MltFactory.cpp - MLT Wrapper * Copyright (C) 2004-2005 Charles Yates + * Copyright (C) 2008 Dan Dennedy * Author: Charles Yates * * This program is free software; you can redistribute it and/or modify @@ -35,24 +36,24 @@ Properties *Factory::event_object( ) return new Properties( mlt_factory_event_object( ) ); } -Producer *Factory::producer( char *id, char *arg ) +Producer *Factory::producer( Profile& profile, char *id, char *arg ) { - return new Producer( id, arg ); + return new Producer( profile, id, arg ); } -Filter *Factory::filter( char *id, char *arg ) +Filter *Factory::filter( Profile& profile, char *id, char *arg ) { - return new Filter( id, arg ); + return new Filter( profile, id, arg ); } -Transition *Factory::transition( char *id, char *arg ) +Transition *Factory::transition( Profile& profile, char *id, char *arg ) { - return new Transition( id, arg ); + return new Transition( profile, id, arg ); } -Consumer *Factory::consumer( char *id, char *arg ) +Consumer *Factory::consumer( Profile& profile, char *id, char *arg ) { - return new Consumer( id, arg ); + return new Consumer( profile, id, arg ); } #ifdef WIN32