[vlmc-devel] PreviewRuler: Make the timecode more precise

Yikai Lu git at videolan.org
Sun Jul 10 18:03:33 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Sat Jul  9 00:26:28 2016 +0900| [ec92e46ce1715d1f1ffdf35c37b623100276779f] | committer: Yikai Lu

PreviewRuler: Make the timecode more precise

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

 src/Gui/preview/PreviewRuler.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Gui/preview/PreviewRuler.cpp b/src/Gui/preview/PreviewRuler.cpp
index b7b94b7..4b9c846 100644
--- a/src/Gui/preview/PreviewRuler.cpp
+++ b/src/Gui/preview/PreviewRuler.cpp
@@ -235,7 +235,7 @@ PreviewRuler::updateTimecode( qint64 frames /*= -1*/ )
     setFrame( frames );
     if ( m_renderer->length() > 0 )
     {
-        int fps = (int)m_renderer->getFps();
+        float fps = m_renderer->getFps();
 
         if ( fps > 0 )
         {



More information about the Vlmc-devel mailing list