Merge ../mlt
[melted] / mlt++ / test / play.cpp
1
2 #include <Mlt.h>
3 using namespace Mlt;
4
5 int main( int, char **argv )
6 {
7 Factory::init( NULL );
8 Profile profile;
9 Producer producer( profile, argv[ 1 ] );
10 Consumer consumer( profile );
11 consumer.set( "rescale", "none" );
12 consumer.connect( producer );
13 consumer.run( );
14 return 0;
15 }