]> git.sesse.net Git - kdenlive/blobdiff - src/clipitem.cpp
Remember last seek position for clips in project tree
[kdenlive] / src / clipitem.cpp
index 091eee6af772bf12f0420d4524dd465e24b6eb5e..6553c6bd80ccf33e26cf1dc84b424db4c2d2fc4e 100644 (file)
@@ -1145,7 +1145,7 @@ void ClipItem::slotPrepareAudioThumb(double pixelForOneFrame, int startpixel, in
             int sample = (int)((frame - (int)(frame)) * 20);   // AUDIO_FRAME_SIZE
             if (frame < 0 || sample < 0 || sample > 19)
                 continue;
-            QMap<int, QByteArray> frame_channel_data = baseClip()->m_audioFrameCache[(int)frame];
+            QMap<int, QByteArray> frame_channel_data = baseClip()->audioFrameCache[(int)frame];
 
             for (int channel = 0; channel < channels && frame_channel_data[channel].size() > 0; channel++) {