[vlc-commits] input_internal: turn the hardcoded INPUT_PTS_DELAY_MAX value into a CLOCK_FREQ based value

Steve Lhomme git at videolan.org
Sat May 5 18:10:33 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Sat May  5 10:08:47 2018 +0200| [c33f6bcaa30037da0ccb8ab451875406a2db2e7b] | committer: Rémi Denis-Courmont

input_internal: turn the hardcoded INPUT_PTS_DELAY_MAX value into a CLOCK_FREQ based value

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 src/input/input_internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/input_internal.h b/src/input/input_internal.h
index db53577e63..a05663b516 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -229,7 +229,7 @@ void input_ControlPush( input_thread_t *, int i_type, vlc_value_t * );
 bool input_Stopped( input_thread_t * );
 
 /* Bound pts_delay */
-#define INPUT_PTS_DELAY_MAX INT64_C(60000000)
+#define INPUT_PTS_DELAY_MAX (CLOCK_FREQ*60)
 
 /**********************************************************************
  * Item metadata



More information about the vlc-commits mailing list