destroy = 1;
else
mlt_properties_pass( properties, MLT_PRODUCER_PROPERTIES( this->alternative ), "" );
- this->is_pal = mlt_properties_get_int( properties, "fps" ) == 25;
+ this->is_pal = ( ( int ) mlt_producer_get_fps( producer ) ) == 25;
}
else
{
// Calculate default in/out points
double fps = this->is_pal ? 25 : 30000.0 / 1001.0;
- if ( mlt_properties_get_double( properties, "fps" ) == fps )
+ if ( mlt_producer_get_fps( &this->parent ) == fps )
{
if ( this->frames_in_file > 0 )
{