mlt_properties_set_data( properties, "audio", consumer_encode_audio, 0, NULL, NULL );
mlt_properties_set_data( properties, "output", consumer_output, 0, NULL, NULL );
+ // Terminate at end of the stream by default
+ mlt_properties_set_int( properties, "terminate_on_pause", 1 );
+
// Set up start/stop/terminated callbacks
this->start = consumer_start;
this->stop = consumer_stop;
time_t start = time( NULL );
int height = mlt_properties_get_int( this_properties, "height" );
int is_pal = height == 576;
- int is_wide = mlt_properties_get_int( this_properties, "display_ratio_num" ) == 16;
+ int is_wide = mlt_properties_get_int( this_properties, "display_aspect_num" ) == 16;
// Temporary - audio buffer allocation
int16_t *audio_buffers[ 4 ];