Commit c5c8a717 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen
Browse files

Enabling audio for VLCInstance, Disabling audio for snapshots.

VLC config files aren't loaded anymore. ("--ignore-config")
parent 27a25c43
......@@ -34,9 +34,9 @@ Instance::Instance()
//"--plugin-path", VLC_TREE "/modules",
//"--ignore-config", //Don't use VLC's config files
"--ignore-config", //Don't use VLC's config files
int argc = sizeof( argv ) / sizeof( *argv );
......@@ -41,7 +41,12 @@ void MetaDataManager::run()
m_currentClip = m_mediaList.front();
//Disabling audio for this specific use of the media
m_currentClip->addParam( ":no-audio" );
//And re-enable it to prevent the audio to be disabled anywhere else.
m_currentClip->addParam( ":audio" );
m_mediaPlayer->setMedia( m_currentClip->getVLCMedia() );
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