vlc | branch: master | Steve Lhomme <[email protected]> | Wed Jun 13 15:13:32 2018 +0200| [be4463d54c413a97905c8e9943c69e15129051c5] | committer: Steve Lhomme
sout:record: convert vlc_tick_t to seconds explicitly using SEC_FROM_VLC_TICK() > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=be4463d54c413a97905c8e9943c69e15129051c5 --- modules/stream_out/record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stream_out/record.c b/modules/stream_out/record.c index 84ce815811..0b52c54be5 100644 --- a/modules/stream_out/record.c +++ b/modules/stream_out/record.c @@ -240,7 +240,7 @@ static int Send( sout_stream_t *p_stream, void *id, block_t *p_buffer ) p_sys->i_size > p_sys->i_max_size ) ) { msg_Dbg( p_stream, "Starting recording, waited %ds and %dbyte", - (int)((vlc_tick_now() - p_sys->i_date_start)/CLOCK_FREQ), (int)p_sys->i_size ); + (int)SEC_FROM_VLC_TICK(vlc_tick_now() - p_sys->i_date_start), (int)p_sys->i_size ); OutputStart( p_stream ); } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
