Commit 6121d511 authored by luyikei's avatar luyikei Committed by Hugo Beauzée-Luyssen

WorkflowRenderer: Fix reading a null renderTarget.

Sorry, it'a very stupid mistake.
Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent f67a7e53
......@@ -228,8 +228,8 @@ WorkflowRenderer::startRenderToFile( const QString& outputFileName, quint32 widt
m_outputFps = fps;
m_aspectRatio = ar;
setupRenderer();
setRenderTarget( std::unique_ptr<Backend::IRenderTarget>( new Backend::FileTarget( qPrintable( outputFileName ) ) ) );
setupRenderer();
m_sourceRenderer->setOutputAudioBitrate( abitrate );
m_sourceRenderer->setOutputVideoBitrate( vbitrate );
connect( m_mainWorkflow, &MainWorkflow::mainWorkflowEndReached, this, &WorkflowRenderer::renderComplete );
......
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