cleanup some warnings
[melted] / mlt++ / test / play.cpp
index 459875d..e83c5a9 100644 (file)
@@ -2,11 +2,12 @@
 #include <Mlt.h>
 using namespace Mlt;
 
-int main( int argc, char **argv )
+int main( int, char **argv )
 {
        Factory::init( NULL );
-       Producer producer( argv[ 1 ] );
-       Consumer consumer;
+       Profile profile;
+       Producer producer( profile, argv[ 1 ] );
+       Consumer consumer( profile );
        consumer.set( "rescale", "none" );
        consumer.connect( producer );
        consumer.run( );