diff options
author | wm4 <wm4@nowhere> | 2019-11-25 01:05:53 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-25 01:05:53 +0100 |
commit | f5daae12ff600b1c109d66efeca5e18176089b90 (patch) | |
tree | 3ed4565e64125003135f461e9e9a1ca528723c38 /player | |
parent | 5af9fefff63beddb924ef573e39c57030636efc9 (diff) | |
download | mpv-f5daae12ff600b1c109d66efeca5e18176089b90.tar.bz2 mpv-f5daae12ff600b1c109d66efeca5e18176089b90.tar.xz |
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.
Diffstat (limited to 'player')
-rw-r--r-- | player/command.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |