void VLCControlsWnd::SyncVideoPosScrollPosWithVideoPos() { if( VP() ){ libvlc_time_t pos = VP()->get_time(); SetVideoPosScrollPosByVideoPos(pos); } }
void VLCFullScreenWnd::SyncVideoPosScrollPosWithVideoPos() { libvlc_media_player_t* p_md = getMD(); if( p_md ){ libvlc_time_t pos = libvlc_media_player_get_time(p_md); SetVideoPosScrollPosByVideoPos(pos); } }