Commit 8296d311 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Solved a constant warning when initializing clip workflow

parent a23337f9
......@@ -161,7 +161,7 @@ void ClipWorkflow::setVmem()
void ClipWorkflow::initialize()
{
setState( Initializing );
m_vlcMedia = new LibVLCpp::Media( m_clip->getParent()->getFileInfo()->absoluteFilePath() );
m_vlcMedia = new LibVLCpp::Media( "file://" + m_clip->getParent()->getFileInfo()->absoluteFilePath() );
setVmem();
m_mediaPlayer = Pool<LibVLCpp::MediaPlayer>::getInstance()->get();
m_mediaPlayer->setMedia( m_vlcMedia );
......
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