[vlc-commits] sout:rtp: use MS_FROM_VLC_TICK to the default caching amount
Steve Lhomme
git at videolan.org
Thu Jul 5 16:57:47 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jun 13 15:17:35 2018 +0200| [c64a47d0a2a6c030485b46386835d56a486acaa9] | committer: Steve Lhomme
sout:rtp: use MS_FROM_VLC_TICK to the default caching amount
The default value is in vlc_tick_t but the variable uses milliseconds.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c64a47d0a2a6c030485b46386835d56a486acaa9
---
modules/stream_out/rtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index 8e0fdd5b7e..cbc8dd371d 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -225,7 +225,7 @@ vlc_module_begin ()
TTL_LONGTEXT, true )
add_bool( SOUT_CFG_PREFIX "rtcp-mux", false,
RTCP_MUX_TEXT, RTCP_MUX_LONGTEXT, false )
- add_integer( SOUT_CFG_PREFIX "caching", DEFAULT_PTS_DELAY / 1000,
+ add_integer( SOUT_CFG_PREFIX "caching", MS_FROM_VLC_TICK(DEFAULT_PTS_DELAY),
CACHING_TEXT, CACHING_LONGTEXT, true )
#ifdef HAVE_SRTP
More information about the vlc-commits
mailing list