- QPixmap p = KThumb::getFrame(m_producer, pos, width, 100);
- if (!p.isNull()) m_view.clip_thumb->setPixmap(p);
- else kDebug() << "!!!!!!!!!!! ERROR CREATING THUMB";
-}
-
-void MarkerDialog::slotTimeUp()
-{
- int duration = m_tc.getFrameCount(m_view.marker_position->text(), m_fps);
- if (m_clip && duration >= m_clip->duration().frames(m_fps)) return;
- duration ++;
- m_view.marker_position->setText(m_tc.getTimecode(GenTime(duration, m_fps), m_fps));
-}
-
-void MarkerDialog::slotTimeDown()
-{
- int duration = m_tc.getFrameCount(m_view.marker_position->text(), m_fps);
- if (duration <= 0) return;
- duration --;
- m_view.marker_position->setText(m_tc.getTimecode(GenTime(duration, m_fps), m_fps));
+ QPixmap p = QPixmap::fromImage(KThumb::getFrame(m_producer, pos, swidth, width, 100));
+ if (!p.isNull())
+ clip_thumb->setPixmap(p);
+ else
+ kDebug() << "!!!!!!!!!!! ERROR CREATING THUMB";