summaryrefslogtreecommitdiffstats
path: root/audio/format.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-10 14:05:42 +0100
committerwm4 <wm4@nowhere>2015-03-10 14:16:07 +0100
commiteff265c1400f6795e284d4e7c9054cf288d6c0cf (patch)
tree23da5356d33da8453222baf85e40e9d52023f7e3 /audio/format.h
parent2f5e31cf47d8b340989395d84d966d1d1390fe3f (diff)
downloadmpv-eff265c1400f6795e284d4e7c9054cf288d6c0cf.tar.bz2
mpv-eff265c1400f6795e284d4e7c9054cf288d6c0cf.tar.xz
vo_opengl_cb: clear last video frame on uninit()
mpv_opengl_cb_render() is supposed to clear the screen with the background color if there's no video... I think. It didn't do this, because although uninit() requested gl_video_config() to be called, this didn't happen, because this function checks whether the VO is set - and it's unsert after uninit() releases the lock. Also call the user wakeup callback in this situation, so the user actually redraws immediately.
Diffstat (limited to 'audio/format.h')
0 files changed, 0 insertions, 0 deletions