From c07e046bfa5a736ddf6c185b48cd1c6929840186 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 2 Feb 2015 21:23:12 +0100 Subject: player: add external audio file auto-loading Apparently some people want this. Not enabled by default. Fixes #967. --- sub/find_subfiles.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sub/find_subfiles.h') diff --git a/sub/find_subfiles.h b/sub/find_subfiles.h index 85b491f1f9..a531b3e36a 100644 --- a/sub/find_subfiles.h +++ b/sub/find_subfiles.h @@ -22,13 +22,14 @@ #include struct subfn { + int type; // STREAM_SUB/STREAM_AUDIO int priority; char *fname; char *lang; }; struct mpv_global; -struct subfn *find_text_subtitles(struct mpv_global *global, const char *fname); +struct subfn *find_external_files(struct mpv_global *global, const char *fname); bool mp_might_be_subtitle_file(const char *filename); -- cgit v1.2.3