summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-29 22:08:22 +0100
committerwm4 <wm4@nowhere>2014-12-29 22:08:22 +0100
commit6618e5d69ab2f1eef70769e46f4129d13bd7ff29 (patch)
treeff20ad08cc4673073543fbd866a4fff2bc8478e6 /player/core.h
parent40755180113ac58cd98fb0f6758c1466e56d5f94 (diff)
downloadmpv-6618e5d69ab2f1eef70769e46f4129d13bd7ff29.tar.bz2
mpv-6618e5d69ab2f1eef70769e46f4129d13bd7ff29.tar.xz
player: make --shuffle/--merge-files affect runtime loaded playlists
Until now, these options took effect only at program start. This could be confusing when e.g. doing "mpv list.m3u --shuffle". Make them always take effect when a playlist is loaded either via a playlist file, or with the "loadlist" command.
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 bb310e0975..8184b133ce 100644
--- a/player/core.h
+++ b/player/core.h
@@ -395,6 +395,7 @@ 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 reselect_demux_streams(struct MPContext *mpctx);
+void prepare_playlist(struct MPContext *mpctx, struct playlist *pl);
// main.c
int mpv_main(int argc, char *argv[]);