From 71fa2e6fc22a1b53dd1ddb1ca877794867f7ac5f Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 25 Feb 2016 22:44:50 +0100 Subject: 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. --- player/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/video.c') diff --git a/player/video.c b/player/video.c index 05f2f5667f..62a144afe9 100644 --- a/player/video.c +++ b/player/video.c @@ -307,7 +307,7 @@ void uninit_video_chain(struct MPContext *mpctx) mpctx->vo_chain = NULL; mpctx->video_status = STATUS_EOF; - reselect_demux_streams(mpctx); + remove_deint_filter(mpctx); mp_notify(mpctx, MPV_EVENT_VIDEO_RECONFIG, NULL); } -- cgit v1.2.3