// Default scaler (for now we'll use nearest)
mlt_properties_set( this->properties, "rescale", "nearest" );
+ mlt_properties_set( this->properties, "deinterlace_method", "onefield" );
// Default buffer for low latency
mlt_properties_set_int( this->properties, "buffer", 1 );
consumer_play_video( this, frame );
pthread_cond_wait( &this->refresh_cond, &this->refresh_mutex );
}
+ mlt_frame_close( frame );
this->refresh_count --;
pthread_mutex_unlock( &this->refresh_mutex );
}
+ else
+ mlt_frame_close( frame );
// Optimisation to reduce latency
if ( speed == 1.0 )