3 # Import required modules
12 p
= mltpp
.Producer( sys
.argv
[1] )
16 c
= mltpp
.Consumer( "sdl" )
18 # Turn off the default rescaling
19 c
.set( "rescale", "none" )
21 # Connect the producer to the consumer
27 # Wait until the user stops the consumer
28 while c
.is_stopped( ) == 0:
32 print "Unable to open ", sys
.argv
[ 1 ]