X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fsrc%2FMltFactory.cpp;h=51aa7f96f7e3bc7a6d2d28f25383020e79fbba06;hb=6ce81902d5ad2f7584f47193caf31c009937af17;hp=748a5342d662754b0ec1fe299ed38a599cad0c06;hpb=01116637238e74419971afc26311c7a65b7b43aa;p=melted diff --git a/mlt++/src/MltFactory.cpp b/mlt++/src/MltFactory.cpp index 748a534..51aa7f9 100644 --- a/mlt++/src/MltFactory.cpp +++ b/mlt++/src/MltFactory.cpp @@ -19,6 +19,10 @@ */ #include "MltFactory.h" +#include "MltProducer.h" +#include "MltFilter.h" +#include "MltTransition.h" +#include "MltConsumer.h" using namespace Mlt; int Factory::init( char *arg ) @@ -26,6 +30,31 @@ int Factory::init( char *arg ) return mlt_factory_init( arg ); } +Properties *Factory::event_object( ) +{ + return new Properties( mlt_factory_event_object( ) ); +} + +Producer *Factory::producer( char *id, char *arg ) +{ + return new Producer( id, arg ); +} + +Filter *Factory::filter( char *id, char *arg ) +{ + return new Filter( id, arg ); +} + +Transition *Factory::transition( char *id, char *arg ) +{ + return new Transition( id, arg ); +} + +Consumer *Factory::consumer( char *id, char *arg ) +{ + return new Consumer( id, arg ); +} + void Factory::close( ) { mlt_factory_close( );