Commit f8a17b80 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

ClipRenderer: Fixing clip preview when using VLC 1.2

parent a702b687
......@@ -96,7 +96,7 @@ ClipRenderer::startPreview()
//If an old media is found, we delete it, and disconnect
if ( m_vlcMedia != NULL )
delete m_vlcMedia;
m_vlcMedia = new LibVLCpp::Media( m_selectedClip->getMedia()->fileInfo()->absoluteFilePath() );
m_vlcMedia = new LibVLCpp::Media( m_selectedClip->getMedia()->mrl() );
m_mediaPlayer->setKeyInput( false );
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