From 95fd83a269db6e2a04e40fe0c40cc02a051f316d Mon Sep 17 00:00:00 2001 From: xylosper Date: Tue, 3 Feb 2015 17:15:14 +0900 Subject: command: new commands audio_add/audio_remove/audio_reload These commands are counterparts of sub_add/sub_remove/sub_reload which work for external audio file. Signed-off-by: wm4 (minor simplification) --- player/core.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'player/core.h') diff --git a/player/core.h b/player/core.h index 06abd0eff8..d6475eb385 100644 --- a/player/core.h +++ b/player/core.h @@ -373,7 +373,8 @@ int mp_nav_in_menu(struct MPContext *mpctx); // loadfile.c void uninit_player(struct MPContext *mpctx, unsigned int mask); -struct track *mp_add_subtitles(struct MPContext *mpctx, char *filename); +struct track *mp_add_external_file(struct MPContext *mpctx, char *filename, + enum stream_type filter); void mp_switch_track(struct MPContext *mpctx, enum stream_type type, struct track *track); void mp_switch_track_n(struct MPContext *mpctx, int order, -- cgit v1.2.3