X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_frame.c;h=a34579edf83b4585d2c085d4db0509f4ebb34bb1;hb=a07c3da76259d6ba479d800ffecc5617a9ad158f;hp=52de88d9ea40757ab28e936f3dcfb1ccfdaed079;hpb=2e434b9242746de211dc260456c13ecf3fa38ddf;p=melted diff --git a/src/framework/mlt_frame.c b/src/framework/mlt_frame.c index 52de88d..a34579e 100644 --- a/src/framework/mlt_frame.c +++ b/src/framework/mlt_frame.c @@ -445,7 +445,7 @@ unsigned char *mlt_frame_get_waveform( mlt_frame this, int w, int h ) mlt_audio_format format = mlt_audio_pcm; int frequency = 32000; // lower frequency available? int channels = 2; - double fps = mlt_properties_get_double( properties, "fps" ); + double fps = mlt_profile_fps( NULL ); int samples = mlt_sample_calculator( fps, frequency, mlt_frame_get_position( this ) ); // Get the pcm data