diff options
author | wm4 <wm4@nowhere> | 2016-02-25 22:44:50 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-02-25 22:44:50 +0100 |
commit | 71fa2e6fc22a1b53dd1ddb1ca877794867f7ac5f (patch) | |
tree | f90ee1bacf2f656b2103baf12f3835075792b77c /player/audio.c | |
parent | b4bbfea71d96836e18586c9328a9c59544717d44 (diff) | |
download | mpv-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/audio.c')
-rw-r--r-- | player/audio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/player/audio.c b/player/audio.c index 1cc85ad357..537d2e1b29 100644 --- a/player/audio.c +++ b/player/audio.c @@ -246,7 +246,6 @@ void uninit_audio_chain(struct MPContext *mpctx) mpctx->ao_chain = NULL; mpctx->audio_status = STATUS_EOF; - reselect_demux_streams(mpctx); mp_notify(mpctx, MPV_EVENT_AUDIO_RECONFIG, NULL); } |