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

Hugo Beauzée-Luyssen hugo at beauzee.fr
Sun Apr 10 14:13:42 CEST 2016


On 04/10/2016 12:21 PM, Yikai Lu wrote:
> ---
>  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 ) );
> 
Applied

This part will probably need more work, it seems quite inconsistent.
Some methods are taking the size as parameter, some are using the member
variables.

-- 
Hugo Beauzée-Luyssen
www.beauzee.fr


More information about the Vlmc-devel mailing list