summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-02-25 22:44:50 +0100
committerwm4 <wm4@nowhere>2016-02-25 22:44:50 +0100
commit71fa2e6fc22a1b53dd1ddb1ca877794867f7ac5f (patch)
treef90ee1bacf2f656b2103baf12f3835075792b77c /player/core.h
parentb4bbfea71d96836e18586c9328a9c59544717d44 (diff)
downloadmpv-71fa2e6fc22a1b53dd1ddb1ca877794867f7ac5f.tar.bz2
mpv-71fa2e6fc22a1b53dd1ddb1ca877794867f7ac5f.tar.xz
player: slightly simplify how demuxer streams are enabled/disabled
Instead of having reselect_demux_streams() look at all streams, make it look at the current stream that is being enabled/disabled.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/core.h b/player/core.h
index 7f4104780f..2696823cf9 100644
--- a/player/core.h
+++ b/player/core.h
@@ -462,7 +462,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 print_track_list(struct MPContext *mpctx, const char *msg);
-void reselect_demux_streams(struct MPContext *mpctx);
+void reselect_demux_stream(struct MPContext *mpctx, struct track *track);
void prepare_playlist(struct MPContext *mpctx, struct playlist *pl);
void autoload_external_files(struct MPContext *mpctx);
struct track *select_default_track(struct MPContext *mpctx, int order,