[vlc-commits] common/win32_fullscreen: SetVideoPosScrollPosByVideoPos should use libvlc_time_t instead of int

Sergey Radionov git at videolan.org
Wed Dec 21 12:54:15 CET 2011


npapi-vlc | branch: master | Sergey Radionov <RSATom at gmail.com> | Sat Dec  3 17:19:15 2011 +0700| [4d5793c055b34ace9fe51f5b514cc7e21efce64c] | committer: Jean-Baptiste Kempf

common/win32_fullscreen: SetVideoPosScrollPosByVideoPos should use libvlc_time_t instead of int

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=4d5793c055b34ace9fe51f5b514cc7e21efce64c
---

 common/win32_fullscreen.cpp |    2 +-
 common/win32_fullscreen.h   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/win32_fullscreen.cpp b/common/win32_fullscreen.cpp
index 196e1d1..f2774ef 100644
--- a/common/win32_fullscreen.cpp
+++ b/common/win32_fullscreen.cpp
@@ -677,7 +677,7 @@ void VLCFullScreenWnd::SetVideoPosScrollRangeByVideoLen()
     }
 }
 
-void VLCFullScreenWnd::SetVideoPosScrollPosByVideoPos(int CurScrollPos)
+void VLCFullScreenWnd::SetVideoPosScrollPosByVideoPos(libvlc_time_t CurScrollPos)
 {
     SendMessage(hVideoPosScroll, (UINT)PBM_SETPOS, (WPARAM) (CurScrollPos >> VideoPosShiftBits), 0);
 }
diff --git a/common/win32_fullscreen.h b/common/win32_fullscreen.h
index 9396d02..0ed1dcc 100644
--- a/common/win32_fullscreen.h
+++ b/common/win32_fullscreen.h
@@ -162,7 +162,7 @@ private:
     HWND hVolumeSlider;
 
 private:
-    void SetVideoPosScrollPosByVideoPos(int CurPos);
+    void SetVideoPosScrollPosByVideoPos(libvlc_time_t CurPos);
     static bool handle_position_changed_event_enabled;
     static void handle_position_changed_event(const libvlc_event_t* event, void *param);
     //static void handle_time_changed_event(const libvlc_event_t* event, void *param);



More information about the vlc-commits mailing list