diff options
author | xylosper <darklin20@gmail.com> | 2015-02-03 17:15:14 +0900 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-03 13:53:39 +0100 |
commit | 95fd83a269db6e2a04e40fe0c40cc02a051f316d (patch) | |
tree | 352214e07190724a7ec2d76c39e097245eef6c90 /player/core.h | |
parent | 2c22fcd350a55ffe9c49f3fedbd4be33a16cfba5 (diff) | |
download | mpv-95fd83a269db6e2a04e40fe0c40cc02a051f316d.tar.bz2 mpv-95fd83a269db6e2a04e40fe0c40cc02a051f316d.tar.xz |
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 <wm4@nowhere>
(minor simplification)
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 3 |
1 files changed, 2 insertions, 1 deletions
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, |