X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fclipmanager.cpp;h=608087f4470c1c2d11186786051f4921324c4af3;hb=df42e5f4903295ad1ed4c67aec62fb5dd7c755ab;hp=af4522a6cdeb76c9dfc48d460195e920ee85a7ea;hpb=d18eaa998a96b0f8d9dd43e5b7dd2fb9574e71a1;p=kdenlive diff --git a/src/clipmanager.cpp b/src/clipmanager.cpp index af4522a6..608087f4 100644 --- a/src/clipmanager.cpp +++ b/src/clipmanager.cpp @@ -305,7 +305,7 @@ void ClipManager::slotGetAudioThumbs() producer.seek(z); mlt_frame = producer.get_frame(); if (mlt_frame && mlt_frame->is_valid()) { - int samples = mlt_sample_calculator(framesPerSecond, frequency, mlt_frame_get_position(mlt_frame->get_frame())); + int samples = mlt_sample_calculator(framesPerSecond, frequency, mlt_frame->get_position()); qint16* pcm = static_cast(mlt_frame->get_audio(audioFormat, frequency, channels, samples)); for (int c = 0; c < channels; c++) { QByteArray audioArray;