[vlmc-devel] ConsoleRenderer: Remember aspectRatio

Yikai Lu git at videolan.org
Sat Jun 4 11:47:42 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Mon Apr 11 15:02:33 2016 +0900| [e5c67ae84ac75c0f3aae23ae04a60d16c439c7f1] | committer: Hugo Beauzée-Luyssen

ConsoleRenderer: Remember aspectRatio

> https://code.videolan.org/videolan/vlmc/commit/e5c67ae84ac75c0f3aae23ae04a60d16c439c7f1
---

 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



More information about the Vlmc-devel mailing list