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=d5815a401622e32bf3cffdad1aa174824c35eaef;hb=30da6add4dfaeea81255d3d141a18e61f9a4a978;hp=38a4200ee4dc39c8941c6695e063c64eea6c8412;hpb=61b72647fe54cc32652f67bbaf7c63843c667fa4;p=melted diff --git a/mlt++/src/MltFactory.cpp b/mlt++/src/MltFactory.cpp index 38a4200..d5815a4 100644 --- a/mlt++/src/MltFactory.cpp +++ b/mlt++/src/MltFactory.cpp @@ -24,11 +24,12 @@ #include "MltFilter.h" #include "MltTransition.h" #include "MltConsumer.h" +#include "MltRepository.h" using namespace Mlt; -int Factory::init( char *arg ) +Repository *Factory::init( const char *directory ) { - return mlt_factory_init( arg ); + return new Repository( mlt_factory_init( directory ) ); } Properties *Factory::event_object( )