Commit 858d02e2 authored by Rohit Yadav's avatar Rohit Yadav

MainWindow.cpp: Remove conditional if, let the path be handled in Renderer

Settings, instead.
parent efe5dd3e
......@@ -622,20 +622,13 @@ MainWindow::renderVideoSettings( bool exportType )
return false;
}
QString outputFileName;
QString outputFileName = settings->outputFileName();
quint32 width = settings->width();
quint32 height = settings->height();
double fps = settings->fps();
quint32 vbitrate = settings->videoBitrate();
quint32 abitrate = settings->audioBitrate();
if ( exportType )
outputFileName = VLMC_GET_STRING( "general/TempFolderLocation" ) + "/" +
VLMC_PROJECT_GET_STRING( "general/ProjectName" ) +
"-vlmc.mp4";
else
outputFileName = settings->outputFileName();
delete settings;
return renderVideo( outputFileName, width, height, fps, vbitrate, abitrate );
......
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