[vlc-commits] mux:off: don't computer the default i_interval twice
Steve Lhomme
git at videolan.org
Tue Sep 18 15:55:55 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Sep 18 14:53:26 2018 +0200| [b9a68a51d73f3f68df3c0bd066270489478bbb8c] | committer: Steve Lhomme
mux:off: don't computer the default i_interval twice
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b9a68a51d73f3f68df3c0bd066270489478bbb8c
---
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 2decde1d75..607064a135 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 )
p_stream->fmt.video.i_frame_rate )
{
/* optimize for fps < 1 */
- i_interval= __MAX( p_sys->skeleton.i_index_intvl * 1000,
+ i_interval= __MAX( i_interval,
INT64_C(10000000) *
p_stream->fmt.video.i_frame_rate_base /
p_stream->fmt.video.i_frame_rate );
More information about the vlc-commits
mailing list