[vlmc-devel] commit: MainWindow.cpp: Remove conditional if, let the path be handled in Renderer (Rohit Yadav )
git at videolan.org
git at videolan.org
Fri Sep 24 17:26:51 CEST 2010
vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Fri Sep 24 21:06:03 2010 +0530| [858d02e2517d0520eadcb4e5a7387938f5c44bed] | committer: Rohit Yadav
MainWindow.cpp: Remove conditional if, let the path be handled in Renderer
Settings, instead.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=858d02e2517d0520eadcb4e5a7387938f5c44bed
---
src/Gui/MainWindow.cpp | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index 9e4cb0a..cb34157 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -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 );
More information about the Vlmc-devel
mailing list