[vlmc-devel] [PATCH 1/2] WorkflowRenderer: Remember Video Settings

Yikai Lu luyikei.qmltu at gmail.com
Sun Apr 10 12:21:21 CEST 2016


---
 src/Renderer/WorkflowRenderer.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/Renderer/WorkflowRenderer.cpp b/src/Renderer/WorkflowRenderer.cpp
index fe810c3..2586e2d 100644
--- a/src/Renderer/WorkflowRenderer.cpp
+++ b/src/Renderer/WorkflowRenderer.cpp
@@ -228,6 +228,11 @@ WorkflowRenderer::startRenderToFile( const QString& outputFileName, quint32 widt
                                      double fps, const QString& ar,
                                      quint32 vbitrate, quint32 abitrate )
 {
+    m_width = width;
+    m_height = height;
+    m_outputFps = fps;
+    m_aspectRatio = ar;
+
     initFilters();
     setupRenderer( width, height, fps, ar );
     m_sourceRenderer->setOutputFile( qPrintable( outputFileName ) );
-- 
1.9.1



More information about the Vlmc-devel mailing list