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

VLCSource: Fix uninitialized values

parent 80bcdae8
......@@ -31,8 +31,15 @@ using namespace Backend::VLC;
VLCSource::VLCSource( VLCBackend* backend, const QString& path )
: m_backend( backend )
, m_width( 0 )
, m_height( 0 )
, m_fps( .0f )
, m_nbVideoTracks( 0 )
, m_nbAudioTracks( 0 )
, m_length( 0 )
, m_snapshot( NULL )
, m_isParsed( false )
, m_nbFrames( 0 )
{
m_media = new LibVLCpp::Media( backend->vlcInstance(), "file://" + path );
}
......
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