X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_factory.c;h=552b8ce30304ce78715f211b1ec6008b8cc6a35e;hb=f4963a6aa07644399b273b5d2b1f9299c9047414;hp=bb7619d081eea0aca5a3a6948e61c6ea19604c9c;hpb=14cd5766946da2f7ffd1e3dcc88555b24f6d20a1;p=melted diff --git a/src/framework/mlt_factory.c b/src/framework/mlt_factory.c index bb7619d..552b8ce 100644 --- a/src/framework/mlt_factory.c +++ b/src/framework/mlt_factory.c @@ -226,7 +226,7 @@ static void set_common_properties( mlt_properties properties, mlt_profile profil * \return a new producer */ -mlt_producer mlt_factory_producer( mlt_profile profile, const char *service, void *input ) +mlt_producer mlt_factory_producer( mlt_profile profile, const char *service, const void *input ) { mlt_producer obj = NULL; @@ -259,7 +259,7 @@ mlt_producer mlt_factory_producer( mlt_profile profile, const char *service, voi * \return a new filter */ -mlt_filter mlt_factory_filter( mlt_profile profile, const char *service, void *input ) +mlt_filter mlt_factory_filter( mlt_profile profile, const char *service, const void *input ) { mlt_filter obj = NULL; @@ -288,7 +288,7 @@ mlt_filter mlt_factory_filter( mlt_profile profile, const char *service, void *i * \return a new transition */ -mlt_transition mlt_factory_transition( mlt_profile profile, const char *service, void *input ) +mlt_transition mlt_factory_transition( mlt_profile profile, const char *service, const void *input ) { mlt_transition obj = NULL; @@ -317,7 +317,7 @@ mlt_transition mlt_factory_transition( mlt_profile profile, const char *service, * \return a new consumer */ -mlt_consumer mlt_factory_consumer( mlt_profile profile, const char *service, void *input ) +mlt_consumer mlt_factory_consumer( mlt_profile profile, const char *service, const void *input ) { mlt_consumer obj = NULL; @@ -371,3 +371,8 @@ void mlt_factory_close( ) mlt_pool_close( ); } } + +mlt_properties mlt_global_properties( ) +{ + return global_properties; +}