[vlc-commits] mux:ogg: express the index interval (10s at frame rate) in vlc_tick_t explicitly

Steve Lhomme git at videolan.org
Tue Sep 18 15:56:02 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jun 13 10:21:27 2018 +0200| [4d21ddf90a6bdde739518f9abc6cd35501ed4799] | committer: Steve Lhomme

mux:ogg: express the index interval (10s at frame rate) in vlc_tick_t explicitly

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4d21ddf90a6bdde739518f9abc6cd35501ed4799
---

 modules/mux/ogg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/mux/ogg.c b/modules/mux/ogg.c
index 3589c320c0..b04f56a966 100644
--- a/modules/mux/ogg.c
+++ b/modules/mux/ogg.c
@@ -1437,7 +1437,7 @@ static bool AllocateIndex( sout_mux_t *p_mux, sout_input_t *p_input )
         {
             /* optimize for fps < 1 */
             i_interval= __MAX( i_interval,
-                       INT64_C(10000000) *
+                       VLC_TICK_FROM_SEC(10) *
                        p_stream->fmt.video.i_frame_rate_base /
                        p_stream->fmt.video.i_frame_rate );
         }



More information about the vlc-commits mailing list