mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 17:12:36 +00:00
3dc0f2ecf0
vo_opengl_cb is a special case, because we somehow have to render video
asynchronously, all while "trusting" the API user to do it correctly.
This didn't quite work, and a while ago a compromise using a timeout to
prevent theoretically possible deadlocks was added.
Make it even more synchronous. Basically, go all the way, and
synchronize rendering between VO and user renderer thread to the
full extent possible.
This means the silly frame queue is dropped, and we event attempt to
synchronize the GL SwapBuffer call (via mpv_opengl_cb_report_flip()).
The changes introduced with commit
|
||
---|---|---|
.. | ||
client.h | ||
mpv.def | ||
mpv.pc.in | ||
opengl_cb.h | ||
qthelper.hpp |