[vlc-commits] chromecast: use secf to tick functions for conversion
Steve Lhomme
git at videolan.org
Thu Jul 5 16:17:07 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jun 14 13:58:55 2018 +0200| [05684a78986a7ac9ed7256d0e5d0efcc969486f7] | committer: Steve Lhomme
chromecast: use secf to tick functions for conversion
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=05684a78986a7ac9ed7256d0e5d0efcc969486f7
---
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 465ccaf6fb..b262d65117 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -1060,7 +1060,7 @@ std::string intf_sys_t::timeVLCToCC(vlc_tick_t time)
{
std::stringstream ss;
ss.setf(std::ios_base::fixed, std::ios_base::floatfield);
- ss << std::setprecision(6) << (double (time) / (double)CLOCK_FREQ);
+ ss << std::setprecision(6) << secf_from_vlc_tick(time);
return ss.str();
}
More information about the vlc-commits
mailing list