X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_factory.c;fp=src%2Fframework%2Fmlt_factory.c;h=1272a8e794400fef5fffab95d8230a04d1ea704e;hb=b79a3f74f655a4ab8bb087454624d11eca6d9b34;hp=e13662d6a7b04f887bf02e992f9c3a8b56304743;hpb=87e7fc0bad51a23a93118192db165e999981d04b;p=melted diff --git a/src/framework/mlt_factory.c b/src/framework/mlt_factory.c index e13662d..1272a8e 100644 --- a/src/framework/mlt_factory.c +++ b/src/framework/mlt_factory.c @@ -57,7 +57,7 @@ static void mlt_factory_create_done( mlt_listener listener, mlt_properties owner /** Construct the factories. */ -int mlt_factory_init( char *prefix ) +int mlt_factory_init( const char *prefix ) { // Only initialise once if ( mlt_prefix == NULL ) @@ -130,7 +130,7 @@ const char *mlt_factory_prefix( ) /** Get a value from the environment. */ -char *mlt_environment( char *name ) +char *mlt_environment( const char *name ) { return mlt_properties_get( global_properties, name ); } @@ -138,7 +138,7 @@ char *mlt_environment( char *name ) /** Fetch a producer from the repository. */ -mlt_producer mlt_factory_producer( char *service, void *input ) +mlt_producer mlt_factory_producer( const char *service, void *input ) { mlt_producer obj = NULL; @@ -169,7 +169,7 @@ mlt_producer mlt_factory_producer( char *service, void *input ) /** Fetch a filter from the repository. */ -mlt_filter mlt_factory_filter( char *service, void *input ) +mlt_filter mlt_factory_filter( const char *service, void *input ) { mlt_filter obj = NULL; @@ -195,7 +195,7 @@ mlt_filter mlt_factory_filter( char *service, void *input ) /** Fetch a transition from the repository. */ -mlt_transition mlt_factory_transition( char *service, void *input ) +mlt_transition mlt_factory_transition( const char *service, void *input ) { mlt_transition obj = NULL; @@ -221,7 +221,7 @@ mlt_transition mlt_factory_transition( char *service, void *input ) /** Fetch a consumer from the repository */ -mlt_consumer mlt_factory_consumer( char *service, void *input ) +mlt_consumer mlt_factory_consumer( const char *service, void *input ) { mlt_consumer obj = NULL;