From: ddennedy Date: Fri, 10 Apr 2009 07:24:34 +0000 (+0000) Subject: Constness changes X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=80fec40c4f046be50645a0dfbf05a92520b50e7c;p=melted Constness changes Signed-off-by: Ray Lehtiniemi git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@1393 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/mlt++/src/MltConsumer.cpp b/mlt++/src/MltConsumer.cpp index 1989133..1b5c4df 100644 --- a/mlt++/src/MltConsumer.cpp +++ b/mlt++/src/MltConsumer.cpp @@ -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 ) diff --git a/mlt++/src/MltConsumer.h b/mlt++/src/MltConsumer.h index 52a2882..04948e8 100644 --- a/mlt++/src/MltConsumer.h +++ b/mlt++/src/MltConsumer.h @@ -39,7 +39,7 @@ namespace Mlt public: Consumer( ); Consumer( Profile& profile ); - Consumer( Profile& profile, char *id , char *service = NULL ); + Consumer( Profile& profile, const char *id , const char *service = NULL ); Consumer( Service &consumer ); Consumer( Consumer &consumer ); Consumer( mlt_consumer consumer );