[vlc-commits] qt: use vlc_tick_t with the input "length"

Steve Lhomme git at videolan.org
Fri Jul 6 12:42:18 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Sat May  5 17:57:49 2018 +0200| [129f8e7a06bb8293034f06beb1c9f0463f0b780b] | committer: Steve Lhomme

qt: use vlc_tick_t with the input "length"

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=129f8e7a06bb8293034f06beb1c9f0463f0b780b
---

 modules/gui/qt/input_manager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/input_manager.cpp b/modules/gui/qt/input_manager.cpp
index 78c2289745..426a0dc7aa 100644
--- a/modules/gui/qt/input_manager.cpp
+++ b/modules/gui/qt/input_manager.cpp
@@ -429,7 +429,7 @@ static int VbiEvent( vlc_object_t *, const char *,
 void InputManager::UpdatePosition()
 {
     /* Update position */
-    int64_t i_length = var_GetInteger(  p_input , "length" );
+    vlc_tick_t i_length = var_GetInteger(  p_input , "length" );
     int64_t i_time = var_GetInteger(  p_input , "time");
     float f_pos = var_GetFloat(  p_input , "position" );
     emit positionUpdated( f_pos, i_time, SEC_FROM_VLC_TICK(i_length) );



More information about the vlc-commits mailing list