vlc | branch: master | Steve Lhomme <[email protected]> | 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 <[email protected]>

> 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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to