vlc | branch: master | Steve Lhomme <[email protected]> | Wed Jun 13 14:46:03 2018 +0200| [dfea65f824af7ece89dda2b631af52361851bf15] | committer: Steve Lhomme
chromecast: convert vlc_tick_t to seconds explicitly using SEC_FROM_VLC_TICK() > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dfea65f824af7ece89dda2b631af52361851bf15 --- 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 37934a76ba..3796780eb4 100644 --- a/modules/stream_out/chromecast/chromecast_ctrl.cpp +++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp @@ -960,7 +960,7 @@ bool intf_sys_t::handleMessages() // how many bytes to read ssize_t i_ret = m_communication->receive( p_packet + i_received, i_payloadSize + PACKET_HEADER_LEN - i_received, - PING_WAIT_TIME - ( vlc_tick_now() - i_begin_time ) / CLOCK_FREQ, + PING_WAIT_TIME - SEC_FROM_VLC_TICK( vlc_tick_now() - i_begin_time ), &b_timeout ); if ( i_ret < 0 ) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
