[vlc-commits] input: convert vlc_tick_t to seconds explicitly using SEC_FROM_VLC_TICK()
Steve Lhomme
git at videolan.org
Fri Jul 6 16:07:29 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jun 14 14:31:36 2018 +0200| [f91e6305c35c5c762d4c225d5166cdfb9260a35c] | committer: Steve Lhomme
input: convert vlc_tick_t to seconds explicitly using SEC_FROM_VLC_TICK()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f91e6305c35c5c762d4c225d5166cdfb9260a35c
---
src/input/input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/input/input.c b/src/input/input.c
index 838ae108cb..3a17c06a97 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -930,7 +930,7 @@ static void StartTitle( input_thread_t * p_input )
if( priv->i_start > 0 )
{
msg_Dbg( p_input, "starting at time: %"PRId64"s",
- priv->i_start / CLOCK_FREQ );
+ SEC_FROM_VLC_TICK(priv->i_start) );
input_SetTime( p_input, priv->i_start, false );
}
More information about the vlc-commits
mailing list