Commit 7285a400 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Relocating metaDataComputed emiting to the right place

parent 7552fb22
......@@ -118,6 +118,7 @@ void MetaDataWorker::metaDataAvailable()
}
}
m_media->setLength( m_mediaPlayer->getLength() );
m_media->emitMetaDataComputed();
m_media->setNbFrames( (m_media->getLengthMS() / 1000) * m_media->getFps() );
//Setting time for snapshot :
......@@ -171,7 +172,6 @@ void MetaDataWorker::setSnapshot()
void MetaDataWorker::finalize()
{
m_media->emitMetaDataComputed();
m_media->disconnect( this );
emit computed();
delete this;
......
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