Commit 42af462b authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

Support for get/settime in the inputmedia

parent 1181f464
......@@ -112,6 +112,16 @@ qint64 InputMedia::getLength()
return m_vlcMediaPlayer->getLength();
}
qint64 InputMedia::getTime()
{
return m_vlcMediaPlayer->getTime();
}
void InputMedia::setTime( qint64 time )
{
m_vlcMediaPlayer->setTime( time );
}
QImage& InputMedia::getImage()
{
return *m_image;
......
......@@ -59,6 +59,10 @@ public:
* Return the length (duration) of a Media
*/
qint64 getLength();
qint64 getTime();
void setTime( qint64 time );
/**
* Returns the last rendered frame
*/
......
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