/** Construct the factories.
*/
-int mlt_factory_init( char *prefix )
+int mlt_factory_init( const char *prefix )
{
// Only initialise once
if ( mlt_prefix == NULL )
/** Get a value from the environment.
*/
-char *mlt_environment( char *name )
+char *mlt_environment( const char *name )
{
return mlt_properties_get( global_properties, 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;
/** 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;
/** 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;
/** 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;