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

VLCSource: Fix MRL for files

parent 0ce15dbd
......@@ -33,7 +33,7 @@ VLCSource::VLCSource( VLCBackend* backend, const QString& path )
: m_backend( backend )
, m_isParsed( false )
{
m_media = new LibVLCpp::Media( backend->vlcInstance(), path );
m_media = new LibVLCpp::Media( backend->vlcInstance(), "file://" + path );
}
VLCSource::~VLCSource()
......
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