[vlmc-devel] WorkflowRenderer: Remember Video Settings
Yikai Lu
git at videolan.org
Sun Apr 10 14:18:10 CEST 2016
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Sun Apr 10 19:21:21 2016 +0900| [44e5fff116d9b00696be5b3e123356e9ce283646] | committer: Hugo Beauzée-Luyssen
WorkflowRenderer: Remember Video Settings
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> https://code.videolan.org/videolan/vlmc/commit/44e5fff116d9b00696be5b3e123356e9ce283646
---
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 ) );
More information about the Vlmc-devel
mailing list