From f5daae12ff600b1c109d66efeca5e18176089b90 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 25 Nov 2019 01:05:53 +0100 Subject: command: remove redundant reinit_filters() call on filter change failure This attempted to restore the old filter chain if setting a new one at runtime failed. This is not needed anymore, because changing the filter chain is done in a "transactional" way now. --- player/command.c | 1 - 1 file changed, 1 deletion(-) diff --git a/player/command.c b/player/command.c index bb9696801d..e7471e47fd 100644 --- a/player/command.c +++ b/player/command.c @@ -3976,7 +3976,6 @@ static int set_filters(struct MPContext *mpctx, enum stream_type mediatype, } else { m_option_free(co->opt, list); *list = old_settings; - reinit_filters(mpctx, mediatype); } return success ? 0 : -1; -- cgit v1.2.3