X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fdv%2Fproducer_libdv.c;h=a7c10b34dc3a1e8cdf88470c1f2c9e4ad2577f0f;hb=a07c3da76259d6ba479d800ffecc5617a9ad158f;hp=0a6189fb12b938cf32fd310da2d47a6270d62455;hpb=2e434b9242746de211dc260456c13ecf3fa38ddf;p=melted diff --git a/src/modules/dv/producer_libdv.c b/src/modules/dv/producer_libdv.c index 0a6189f..a7c10b3 100644 --- a/src/modules/dv/producer_libdv.c +++ b/src/modules/dv/producer_libdv.c @@ -163,7 +163,7 @@ mlt_producer producer_libdv_init( char *filename ) 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 { @@ -241,7 +241,7 @@ static int producer_collect_info( producer_libdv this ) // 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 ) {