diff options
author | wm4 <wm4@nowhere> | 2017-02-21 14:31:51 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-02-21 15:39:44 +0100 |
commit | eae12bf9637df1d2b9077a9d3666cd55e7b09459 (patch) | |
tree | 7b90965a73150cf6b2eb374891930d02812846b6 /player/command.h | |
parent | 3cd29ca0318cfab04d155ea8323e7b4c84010b79 (diff) |
vo: fix subtleties in the redrawing logic
This fixes a race condition created by the previous commit, and possibly
others. Sometimes interpolated frames weren't redrawn as uninterpolated
ones.
The problem is that redrawing/drawing a frame can't reset the VO
want_redraw flags, because logically these have to happen after the core
acknowledged and explicitly reissued a redraw. The core needs to be
involved because the OSD text and drawings could depend on the playback
or window state.
Change it such that it always goes through the core.
Also, VOs inconsistently called vo_wakeup() when setting want_redraw,
which is also taken care of by this commit.
Diffstat (limited to 'player/command.h')
0 files changed, 0 insertions, 0 deletions