input: handle "sub-fps" with a new control
commit6d97630b701e3b66f4825729cbdebde24a2b4d35
authorThomas Guillem <thomas@gllm.fr>
Wed, 17 Oct 2018 12:43:14 +0000 (17 14:43 +0200)
committerThomas Guillem <thomas@gllm.fr>
Thu, 18 Oct 2018 11:12:22 +0000 (18 13:12 +0200)
tree37f571f6d48f2b17183e67b70f032ec73431071c
parent28d124dd6567e120ee730f8a02395089e65ba79f
input: handle "sub-fps" with a new control

We now change the slave demux rate according to the requested subtitle fps and
the main demuxer fps.

Example: Video is 24fps but the subtitle is 26fps. In that case, we want to
slow down the subtitle demuxer. Setting "sub-fps" to 26 will change the rate
of the subtitle demuxer to 0.92.
include/vlc_input.h
src/input/event.h
src/input/input.c
src/input/input_internal.h