[vlc-commits] sout:description: use VLC_TICK_FROM_MS for hardcoded vlc_tick_t values
Steve Lhomme
git at videolan.org
Fri Jul 6 09:20:53 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jun 13 15:08:07 2018 +0200| [6191d8506697ed35c57149c4a4c95cb3ae540fa6] | committer: Steve Lhomme
sout:description: use VLC_TICK_FROM_MS for hardcoded vlc_tick_t values
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6191d8506697ed35c57149c4a4c95cb3ae540fa6
---
modules/stream_out/description.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/stream_out/description.c b/modules/stream_out/description.c
index a5bfe779c5..628a918e87 100644
--- a/modules/stream_out/description.c
+++ b/modules/stream_out/description.c
@@ -137,7 +137,7 @@ static int Send( sout_stream_t *p_stream, void *id, block_t *p_buffer )
block_ChainRelease( p_buffer );
- if( p_sys->i_stream_start + 1500000 < vlc_tick_now() )
+ if( p_sys->i_stream_start + VLC_TICK_FROM_MS(1500) < vlc_tick_now() )
vlc_sem_post(p_sys->data->sem);
return VLC_SUCCESS;
More information about the vlc-commits
mailing list