input_clock: change rate argument
commite94cc7fe638540fbff5f2645e40116b41a3cb4a5
authorThomas Guillem <thomas@gllm.fr>
Fri, 15 Feb 2019 11:52:59 +0000 (15 12:52 +0100)
committerThomas Guillem <thomas@gllm.fr>
Fri, 15 Feb 2019 14:41:52 +0000 (15 15:41 +0100)
tree46602ff0facdfffc7abc8832150edcc6cced3fb8
parent5246180f6480519b7af197dfc33bf4543e7654ee
input_clock: change rate argument

Use a float and inverse it.

Before, the int rate value for a 4x speed was 250 (INPUT_RATE_DEFAULT / 250 =
4.f).  Now, for a 4x speed, the float value will be 4.f.
src/clock/input_clock.c
src/clock/input_clock.h
src/input/decoder.c
src/input/es_out.c