summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-22 21:00:24 +0200
committerwm4 <wm4@nowhere>2015-05-22 21:00:24 +0200
commitae46833836453b7fc64f2cff9cb69d6cfd73f947 (patch)
treeb7ecb83b01279fc427348025f158d9fa14d7bd25 /player/core.h
parenta7c831f36d17fae13ef441a8f56281557cccd401 (diff)
downloadmpv-ae46833836453b7fc64f2cff9cb69d6cfd73f947.tar.bz2
mpv-ae46833836453b7fc64f2cff9cb69d6cfd73f947.tar.xz
player: use an array for stream ID options and such
This makes the code slightly more generic.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/player/core.h b/player/core.h
index 055a48bda4..64fd4ec1a5 100644
--- a/player/core.h
+++ b/player/core.h
@@ -402,8 +402,8 @@ 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);
-struct track *select_track(struct MPContext *mpctx, enum stream_type type,
- int tid, int ffid, char **langs);
+struct track *select_default_track(struct MPContext *mpctx, int order,
+ enum stream_type type);
// main.c
int mp_initialize(struct MPContext *mpctx, char **argv);