Constness changes
[melted] / mlt++ / src / MltConsumer.cpp
index a36b63e..1b5c4df 100644 (file)
@@ -37,7 +37,7 @@ Consumer::Consumer( Profile& profile ) :
        instance = mlt_factory_consumer( profile.get_profile(), NULL, NULL );
 }
 
-Consumer::Consumer( Profile& profile, char *id, char *arg ) :
+Consumer::Consumer( Profile& profile, const char *id, const char *arg ) :
        instance( NULL )
 {
        if ( id == NULL || arg != NULL )
@@ -72,6 +72,7 @@ Consumer::Consumer( Service &consumer ) :
 }
 
 Consumer::Consumer( Consumer &consumer ) :
+       Mlt::Service( consumer ),
        instance( consumer.get_consumer( ) )
 {
        inc_ref( );