Commit 4d5793c0 authored by Sergey Radionov's avatar Sergey Radionov Committed by Jean-Baptiste Kempf

common/win32_fullscreen: SetVideoPosScrollPosByVideoPos should use libvlc_time_t instead of int

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 6613bb84
......@@ -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);
}
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment