mirror of
https://github.com/mpv-player/mpv
synced 2025-01-02 04:42:10 +00:00
cache: always update cached controls after running a stream control
Seems like a good idea. One possible bad effect would be slowing down uncached controls, but they're already slow. The good thing is that many controls make intrusive changes to the stream (at least controls which do write accesses), so the cached parameters should be updated.
This commit is contained in:
parent
4f689258cb
commit
d6c4b35b0b
@ -434,6 +434,7 @@ static void cache_execute_control(struct priv *s)
|
||||
cache_drop_contents(s);
|
||||
}
|
||||
|
||||
update_cached_controls(s);
|
||||
s->control = CACHE_CTRL_NONE;
|
||||
pthread_cond_signal(&s->wakeup);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user