summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-16 22:06:41 +0100
committerwm4 <wm4@nowhere>2015-02-16 22:08:16 +0100
commitd26ba961d05a2de165fa87c41d705ed3db00231b (patch)
treeeb3dfc217322ca600decad7a6bf7a051c6d521f5 /player/core.h
parent37183532ae2b3b919540a31f56d0089cd16652d9 (diff)
downloadmpv-d26ba961d05a2de165fa87c41d705ed3db00231b.tar.bz2
mpv-d26ba961d05a2de165fa87c41d705ed3db00231b.tar.xz
command: add rescan_external_files
Requested. Hopefully will be useful for things that download and add external subtitles on demand. Or something. Closes #1586.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h
index d6475eb385..5b69541d24 100644
--- a/player/core.h
+++ b/player/core.h
@@ -394,6 +394,9 @@ void mp_play_files(struct MPContext *mpctx);
void update_demuxer_properties(struct MPContext *mpctx);
void reselect_demux_streams(struct MPContext *mpctx);
void prepare_playlist(struct MPContext *mpctx, struct playlist *pl);
+void autoload_external_files(struct MPContext *mpctx);
+struct track *select_track(struct MPContext *mpctx, enum stream_type type,
+ int tid, int ffid, char **langs);
// main.c
int mpv_main(int argc, char *argv[]);