Fixed releasing of timers (recycle onle) + remove the last one,
otherwise it will be left dangling and triggerred (and crash) when gl
display is also launched.
+ moved server discovery before creating new GL textures etc.
- removed `needs_mainloop` attribute and deduce if mainloop is needed
from the presence of _run callback (the information is now redundant
only displays needing/running mainloop should announce _run callback)
- run the custom mainloop (currently only Syphon!) only when display
doesn't run its mainloop. This allows running Syphon and GL/SDL
display because it connects to the display mainloop.
It is unclear what should this parameter help with and it doesn't seem
that it is somewhere referenced (wiki, GitHub issues).
This reverts commit 2e4fac60b8.
get rid of direct GLUT dependency
+ mac_gl_common.m: fixed copyright + relicense (as the only author)
+ destroy_gl_context - noop for empty (zeroed, not initialized) context
+ GL: attach the context (will be useful later when running at the same
time Syphon and GL display)
When compressing very small video (16x16) with libx265, first frame is
2690 B, which is more than W*H*4 (1024) leading to a crash on assert.
steps to reproduce the fixed problem:
uv -t testcard:size=16x16 -c libavcodec:encoder=libx265
If shader conversion is used, the rendering pipeline needs to be
recreated because the converted frames are initialized with the actual
size. We can perhaps recreate it always if the properties change,
although strictly taken it is not necessarily needed if there is no
conversion and only size changes.
refer to GH-303
Now settings will display options reported in capabilities for all
devices, not just displays. If there are no options reported for a class
of devices (e.g. audio capture) then the settings tab will not appear.
Use MSYS2 shell for Windows runner by default. This makes the workflow
job somehow more natural and easier.
+ `command -v windeployqt-qt6 >/dev/null` was incorrectly in $()
Do not evalate DISPLAY env. variable but check the driver instead -
disable keyboard control for every display but x11 (doesn't use the
terminal) and null.