Commit 17f5b031 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Add signal to inform when the currently displayed frame was updated

svn path=/trunk/kdenlive/; revision=4617
parent 2ce698b9
......@@ -1430,7 +1430,10 @@ const QString & Render::rendererName() const
void Render::emitFrameNumber(double position)
{
if (position == m_framePosition) return;
if (position == m_framePosition) {
emit frameUpdated((int) position);
return;
}
m_framePosition = position;
emit rendererPosition((int) position);
}
......
......@@ -343,6 +343,8 @@ signals:
*
* Used in Mac OS X. */
void showImageSignal(QImage);
/** @brief The renderer refreshed the current frame, but no seeking was done. */
void frameUpdated(int);
public slots:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment