mlt_consumer.c, mlt_frame.c, mlt_multitrack.c, mlt_playlist.c,
[melted] / src / modules / dv / producer_libdv.c
index 0a6189f..a7c10b3 100644 (file)
@@ -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 )
                                {