mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
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.
This commit is contained in:
parent
5af9fefff6
commit
f5daae12ff
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user