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

Renderers: Use a non-global setting to disable title

parent be572daa
......@@ -37,7 +37,6 @@ Instance::Instance( QObject* parent /*= NULL*/ ) : QObject( parent )
"--no-skip-frames",
"--text-renderer", "dummy",
"--vout", "dummy",
"--no-video-title-show", // Don't display the filename
"--no-sub-autodetect-file", // Don't detect subtitles
//"--no-audio",
//"--plugin-path", VLC_TREE "/modules",
......
......@@ -29,6 +29,7 @@ GenericRenderer::GenericRenderer() :
m_paused( false )
{
m_mediaPlayer = new LibVLCpp::MediaPlayer();
m_mediaPlayer->disableTitle();
}
GenericRenderer::~GenericRenderer()
......
......@@ -66,6 +66,7 @@ ClipWorkflow::initialize()
m_vlcMedia->addOption( createSoutChain() );
m_mediaPlayer = MemoryPool<LibVLCpp::MediaPlayer>::getInstance()->get();
m_mediaPlayer->setMedia( m_vlcMedia );
m_mediaPlayer->disableTitle();
m_currentPts = -1;
m_previousPts = -1;
......
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