From ae46833836453b7fc64f2cff9cb69d6cfd73f947 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 22 May 2015 21:00:24 +0200 Subject: player: use an array for stream ID options and such This makes the code slightly more generic. --- player/core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'player/core.h') 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); -- cgit v1.2.3