input: fix `input-slave` option for subtitles
commit08a3c76355b0ba9eb6658a730cc6c763775b63b6
authorAlaric Senat <dev.asenat@posteo.net>
Tue, 30 Mar 2021 13:29:53 +0000 (30 15:29 +0200)
committerThomas Guillem <thomas@gllm.fr>
Thu, 1 Apr 2021 08:06:35 +0000 (1 10:06 +0200)
tree0d9e55fc25ff2adda0420a31239d7e6c76e9f532
parentc21bf10646a6c432a0d1fb695256778a84c83a13
input: fix `input-slave` option for subtitles

Since c34d719f, all files passed by the option `input-slave` were set as
audio tracks no matter what.
Theses changes force subtitle demux on files with a known spu extension.

Fixes #25549

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
src/input/input.c