vlc | branch: master | Steve Lhomme <[email protected]> | Wed Jun 13 14:44:42 2018 +0200| [a6aaaa764935a59438544855c27aae2aaae972b9] | committer: Steve Lhomme
chromecast: replace hardcoded CLOCK_FREQ multiples by VLC_TICK_FROM_SEC() Easier to read and more explicit. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a6aaaa764935a59438544855c27aae2aaae972b9 --- modules/stream_out/chromecast/chromecast_ctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp index b262d65117..37934a76ba 100644 --- a/modules/stream_out/chromecast/chromecast_ctrl.cpp +++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp @@ -1140,7 +1140,7 @@ vlc_tick_t intf_sys_t::getPlaybackTimestamp() assert( m_communication ); vlc_tick_t now = vlc_tick_now(); if( m_state == Playing && m_last_request_id == 0 - && now - m_cc_time_last_request_date > INT64_C(4000000) ) + && now - m_cc_time_last_request_date > VLC_TICK_FROM_SEC(4) ) { m_cc_time_last_request_date = now; m_last_request_id = _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
