diff options
author | wm4 <wm4@nowhere> | 2016-09-16 17:17:32 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-16 17:17:32 +0200 |
commit | 56616b0b013cbeae69555ae95ff577482e82bb1f (patch) | |
tree | 300775be304743b2cbc24910189d7c038f4c2c10 /stream/audio_in.h | |
parent | 17e3e800e1b7bb568ea150fd8182b63966bff509 (diff) | |
download | mpv-56616b0b013cbeae69555ae95ff577482e82bb1f.tar.bz2 mpv-56616b0b013cbeae69555ae95ff577482e82bb1f.tar.xz |
osd: fix OSD getting stuck with --blend-subtitles=yes
If --blend-subtitles=yes is given, vo_opengl will call osd_draw()
multiple times, once for subtitles, and once for OSD. This meant that
the want_redraw flag was reset before the OSD was rendered, which in
turn meant that update_osd() was never called. It seems like removing
the per-OSD object want_redraw wasn't such a good idea. Fix it by
reintroducing such a flag for OSDTYPE_OSD only.
Also, the want_redraw flag is now unused, so kill it.
Another regression caused by commit 9c9cf125. Fixes #3535.
Diffstat (limited to 'stream/audio_in.h')
0 files changed, 0 insertions, 0 deletions