diff options
author | wm4 <wm4@nowhere> | 2012-08-07 01:58:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-07 01:58:43 +0200 |
commit | 0268b1a44562ea5310491fbcbb987d5462f42ca5 (patch) | |
tree | b96a42861bdb8733b73615da8fdc88a3f9807f03 /m_struct.h | |
parent | 22872451369fe219990c6280fc0d1c0c0c344b55 (diff) | |
download | mpv-0268b1a44562ea5310491fbcbb987d5462f42ca5.tar.bz2 mpv-0268b1a44562ea5310491fbcbb987d5462f42ca5.tar.xz |
osd: reset OSD change state even if VO doesn't draw OSD
Commit 168293e0ae6f08 assumed the OSD drawing routines (which have the
functions osd_draw_text/_ext as entrypoint) would always be called, and
relied on that to reset the change flag.
Some VOs, such as vo_null, didn't do this. Pausing could turn into
endless framestepping in some cases. Restore the part of the OSD drawing
logic that dealt with this. (Alternatively, the VOs could be obliged to
always call the OSD drawing routines, even if the VO doesn't actually
draw the OSD. But it seems even more messy to rely on that.)
Diffstat (limited to 'm_struct.h')
0 files changed, 0 insertions, 0 deletions