#include "MltFilteredConsumer.h"
using namespace Mlt;
-FilteredConsumer::FilteredConsumer( Profile& profile, char *id, char *arg ) :
+FilteredConsumer::FilteredConsumer( Profile& profile, const char *id, const char *arg ) :
Consumer( profile, id, arg )
{
// Create a reference to the first service
private:
Service *first;
public:
- FilteredConsumer( Profile& profile, char *id, char *arg = NULL );
+ FilteredConsumer( Profile& profile, const char *id, const char *arg = NULL );
FilteredConsumer( Consumer &consumer );
virtual ~FilteredConsumer( );
int connect( Service &service );
#include "MltFilteredProducer.h"
using namespace Mlt;
-FilteredProducer::FilteredProducer( Profile& profile, char *id, char *arg ) :
+FilteredProducer::FilteredProducer( Profile& profile, const char *id, const char *arg ) :
Producer( profile, id, arg )
{
// Create a reference to the last service
private:
Service *last;
public:
- FilteredProducer( Profile& profile, char *id, char *arg = NULL );
+ FilteredProducer( Profile& profile, const char *id, const char *arg = NULL );
virtual ~FilteredProducer( );
int attach( Filter &filter );
int detach( Filter &filter );
delete filter;
}
-PushConsumer::PushConsumer( Profile& profile, char *id , char *service ) :
+PushConsumer::PushConsumer( Profile& profile, const char *id , const char *service ) :
Consumer( profile, id, service ),
m_private( new PushPrivate( ) )
{
private:
PushPrivate *m_private;
public:
- PushConsumer( Profile& profile, char *id , char *service = NULL );
+ PushConsumer( Profile& profile, const char *id , const char *service = NULL );
virtual ~PushConsumer( );
void set_render( int width, int height, double aspect_ratio );
virtual int connect( Service &service );