[vlmc-devel] [PATCH 02/12] ConsoleRenderer: Remember aspectRatio

Yikai Lu luyikei.qmltu at gmail.com
Sun May 22 08:36:46 CEST 2016


---
 src/Renderer/ConsoleRenderer.cpp | 1 +
 src/Renderer/ConsoleRenderer.h   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/Renderer/ConsoleRenderer.cpp b/src/Renderer/ConsoleRenderer.cpp
index 48858fc..fb7724e 100644
--- a/src/Renderer/ConsoleRenderer.cpp
+++ b/src/Renderer/ConsoleRenderer.cpp
@@ -37,6 +37,7 @@ ConsoleRenderer::ConsoleRenderer(QObject *parent) :
     m_width = Core::instance()->project()->width();
     m_height = Core::instance()->project()->height();
     m_fps = Core::instance()->project()->fps();
+    m_ar = Core::instance()->project()->aspectRatio();
     m_vbitrate = Core::instance()->project()->videoBitrate();
     m_abitrate = Core::instance()->project()->audioBitrate();
     connect( m_renderer, SIGNAL( frameChanged( qint64 ) ),
diff --git a/src/Renderer/ConsoleRenderer.h b/src/Renderer/ConsoleRenderer.h
index 2db770b..5b3c9cb 100644
--- a/src/Renderer/ConsoleRenderer.h
+++ b/src/Renderer/ConsoleRenderer.h
@@ -49,6 +49,7 @@ private:
     double                  m_fps;
     quint32                 m_vbitrate;
     quint32                 m_abitrate;
+    QString                 m_ar;
 };
 
 #endif // CONSOLERENDERER_H
-- 
1.9.1



More information about the Vlmc-devel mailing list