clock.c: replace a magic number with the appropriate constant
vlc_include.h: fix a comment to match reality
*/
#define INPUT_RATE_DEFAULT 1000
#define INPUT_RATE_MIN 125 /* Up to 8/1 */
-#define INPUT_RATE_MAX 32000 /* Up to 1/8 */
+#define INPUT_RATE_MAX 32000 /* Up to 1/32 */
/* i_update field of access_t/demux_t */
#define INPUT_UPDATE_NONE 0x0000
* (mtime_t)p_input->p->i_rate
* (mtime_t)300;
i_sysdate /= 27;
- i_sysdate /= 1000;
+ i_sysdate /= INPUT_RATE_DEFAULT;
i_sysdate += (mtime_t)cl->sysdate_ref;
}