Removed --disable-screen for macos-15-intel and enforced the original
Core Graphics implementation for the arm64 builds (we are still in the
stable branch so not to make the change when not needed - for Intel
builds it was enforced by the GH runner replacement, however).
Ported the implementation to reenable screen capture for macos on
Intels because the runner has switched to macos-15-intel that no longer
supports Core Graphics capture.
The AV Foundation was needed to port directly so this module is now
exactly same as in master - it is probably not worth and error-prone
cherry-picking just the "needed" commits.
see the commits in master for actual changes up to the commit 3ae62524
This is handled differently and may trigger unexpected decode to HW_VDPAU
if gl display advertises that, eg. `uv -t testcard -c lavc:c=MJPG -d gl`.
This fixes the commit 647d8627 (2025-06-25) that unintentionally
enabled that.
The HW accel is hanndled actually separately ahd snouldn't be "enabled"
in this way.
- fixes the SPOUT capture with NVIDIA Optimus
- renderer for Vulkan seem to still use NVIDIA for 10 bit rendering
(-t testcard:c=R10k:patt=gradient2)
refers to <https://github.com/CESNET/UltraGrid/issues/487>
- the fatal/error/warning was off-by-one, should have been "6 -" to match
corresponding Spout log levels, but:
- made the fatal/error/warning mapping explicit, anyways
- use SPOUT_LOG_WARNING for both UG NOTICE and INFO - the previous
SPOUT_LOG_NOTICE is a bit chatty during init, so:
- UG VERBOSE - use the Spout notice
It seems like SPOUTLIBRARY::EnableSpoutLog() must be also executed to
actually enable the logging.
Note that there also exists SPOUTLIBRARY::OpenSpoutConsole(), which seems
to be intended to open a standalone logging window but it didn't open
when just executed between EnableSpoutLog().
As the logging is mainly intended to be output to the console window, it
seems like when issed just EnableSpoutLog() it is dumped to the
stdout/stderr, which is just what we want in UG.
instead of building own Spout, use pre-built release on GH
This actually reverts the commit b98b5ab0 from 2023-11-06.
Date: Mon Nov 6 09:08:46 2023 +0100
Instead of ensuring that the plugin is present, instal the Cairo plugin
directly.
The Cairo implementation is the only libdecor plugin present in U22.04
repositories (U24.04 has the Gtk implementation as well).
Otherwise encoding 4:2:0 will be used by the encoder - if not specified,
the default profile is Main10, which is 4:2:0. The only option to get
4:2:2 is to use AV_PROFILE_HEVC_REXT. Only remaining is Main, which isn't
suitable neither for UYVY if we don't want to reduce subsampling.
generate the run-time dependency according to the build system, not
hard-coded
The advantage for CI is that it does no longer need to be upgraded every
time the GH runner was updated.
This also generalizes for non-CI builds, when the build macOS version
can obviously differ from the CI macos runner.
Do not use both Darwin and macOS version, use just macOS ver.
Use rather branch release instead of main because in main things may
break sometimes.
Eg. currently (libajantv2 commit 9060cc4a), ntv2m31enums.h is not
installed but ntv2utils.h includes that.
Seems like Wayland driver seem to need to have this set explicitly
for the eventual borders to be cleared correctly with SDL_RenderClear.
Otherwise the eventual margins may not be cleared by SDL_RenderClear
(tested with U25.10 live DVD with llvmpipe software renderer inside VM).
It seems like libbrotlidec.1.dylib is dependency of Qt but
incorrectly deployed by macdepoloyqt - just the library (that
is symlink to libbrotlidec.1.2.dylib) but not its dependency
@rpath/libbrotlicommon.1.dylib (+ fix path).
Since libbrotlidec.1.2.dylib is already deployed and fixed as a dependency
of uv (AFAIK through lavc->libjxl), just symlink that.
fixes <https://github.com/CESNET/UltraGrid/issues/478>
Currently Ubuntu 25.10 live DVD (ubuntu-25.10-desktop-amd64.iso)
does not include the library, preventing the GUI from being
run. On the other hand, if used unconditionally, it causes
the warning (even in the U25.10) for which it was removed:
<https://github.com/linuxdeploy/linuxdeploy/issues/152>
So preload the library if is in the system and use the bundled just as
a fallback.