1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00

vo_opengl_cb: do also not block when drawing nothing

The ctx->redrawing field signals whether flip_page() should block. Do
not block if a black frame (i.e. nothing) is to be rendered.

Also, frame==NULL can never happen.
This commit is contained in:
wm4 2016-02-09 21:38:28 +01:00
parent 3d09bd77dd
commit 668ba7441a