vlc | branch: master | Steve Lhomme <[email protected]> | Sat May 5 09:46:20 2018 +0200| [06da444998b0a15055132b8d218a17799d8ac2b4] | committer: Rémi Denis-Courmont
input_clock: express CR_MEAN_PTS_GAP as a CLOCK_FREQ fraction Signed-off-by: Rémi Denis-Courmont <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=06da444998b0a15055132b8d218a17799d8ac2b4 --- src/clock/input_clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clock/input_clock.c b/src/clock/input_clock.c index 2b34efcea7..a69ed53e32 100644 --- a/src/clock/input_clock.c +++ b/src/clock/input_clock.c @@ -84,7 +84,7 @@ /* Latency introduced on DVDs with CR == 0 on chapter change - this is from * my dice --Meuuh */ -#define CR_MEAN_PTS_GAP (300000) +#define CR_MEAN_PTS_GAP (CLOCK_FREQ * 3 / 10) /* Rate (in 1/256) at which we will read faster to try to increase our * internal buffer (if we control the pace of the source). _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
