diff options
author | wm4 <wm4@nowhere> | 2015-04-28 22:04:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-04-28 22:04:37 +0200 |
commit | 0c0c8cd44e42791b80e7de33b653aa9143865bbb (patch) | |
tree | c65f80e8f5609c4883bb60fc5ae42abb4d96024c /player/core.h | |
parent | 0ff93a83571ede54af87ebd1aed5736f428c48d4 (diff) | |
download | mpv-0c0c8cd44e42791b80e7de33b653aa9143865bbb.tar.bz2 mpv-0c0c8cd44e42791b80e7de33b653aa9143865bbb.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.
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 1 |
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); |