summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-28 22:04:37 +0200
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-04-29 18:39:49 +0900
commit73086a6ba3de013e1aae42ed375f39592d100031 (patch)
treedab0b3ec2ad8d477f477acb2f36bc0943fbf7c6f /player/core.h
parent0126999cde0f7c4c990dfe6503126148eae9a78f (diff)
downloadmpv-73086a6ba3de013e1aae42ed375f39592d100031.tar.bz2
mpv-73086a6ba3de013e1aae42ed375f39592d100031.tar.xz
player: log track list when adding or removing external files
Should help with debugging, and might be slightly more userfriendly. Note that this is called manually in multiple entry-points, instead of the functions doing the actual work (like mp_remove_track()). This is done so that exiting the player or calling the sub_reload command won't print redundant in-between states. (cherry picked from commit 0c0c8cd44e42791b80e7de33b653aa9143865bbb)
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h
index 714fd5d4bd..da9401be36 100644
--- a/player/core.h
+++ b/player/core.h
@@ -396,6 +396,7 @@ struct playlist_entry *mp_next_file(struct MPContext *mpctx, int direction,
void mp_set_playlist_entry(struct MPContext *mpctx, struct playlist_entry *e);
void mp_play_files(struct MPContext *mpctx);
void update_demuxer_properties(struct MPContext *mpctx);
+void print_track_list(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);