[vlc-commits] input_clock: express CR_MEAN_PTS_GAP as a CLOCK_FREQ fraction
Steve Lhomme
git at videolan.org
Sat May 5 18:10:20 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | 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 <remi at remlab.net>
> 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).
More information about the vlc-commits
mailing list