Skip to content
Snippets Groups Projects
Commit 31473646 authored by luyikei's avatar luyikei Committed by Hugo Beauzée-Luyssen
Browse files

Stop the project preview if a user starts file rendering


Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 79ccdf17
No related branches found
No related tags found
No related merge requests found
......@@ -610,6 +610,8 @@ MainWindow::renderVideo( const QString& outputFileName, quint32 width, quint32 h
WorkflowFileRendererDialog dialog( width, height );
dialog.setModal( true );
dialog.setOutputFileName( outputFileName );
if ( m_projectPreview->getGenericRenderer()->isRendering() == true )
m_projectPreview->stop();
Core::instance()->workflowRenderer()->startRenderToFile( outputFileName, width, height,
fps, ar, vbitrate, abitrate );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment