Commit Graph

10891 Commits

Author SHA1 Message Date
Martin Pulec
671f618187 disp/vulkan_sdl2: fix crash on message
ported the commit ca04cb3e3 from vulkan_sdl3
2026-01-13 12:53:16 +01:00
Martin Piatka
2789683104 Update FIXES.md 2026-01-06 14:14:25 +01:00
Martin Piatka
f1384bdec7 disp/gl: Fix cursor hide keybind
Now it shows correctly in help and also works through terminal

(cherry picked from commit 59c2f5b974)
2026-01-06 14:11:52 +01:00
Martin Pulec
1d91f55bcf CI: use macos-15-intel
screen must be disabled here because the Core Graphics API for screen
capture is being deprecated/removed in macOS 15.

closes <https://github.com/CESNET/UltraGrid/issues/485>
2026-01-02 15:53:01 +01:00
armelvil
d241fedb41 Update hd-rum-translator.cpp
- fix typo
- fix "c" to "n" in case statement line 669
2026-01-02 15:53:00 +01:00
Martin Pulec
eec97817f8 rework macos-wrapper
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.
2026-01-02 15:53:00 +01:00
Martin Pulec
761ce6b858 macos-wrapper: ensure os release according to arch
x86_64 now builds on macOS 13 while arm64 on macOS 14
2026-01-02 15:52:57 +01:00
Martin Piatka
1b0c29a0ca Update FIXES.md 2026-01-02 11:30:55 +01:00
Martin Piatka
ec066cf688 disp/vulkan: Fix crash on module message
It was trying to get the state pointer from the module pointer, but the module isn't the first member in state.

(cherry picked from commit ca04cb3e38)
2026-01-02 11:28:12 +01:00
Martin Pulec
06d9fcd149 UltraGrid 1.10.1 v1.10.1 2025-12-05 13:00:21 +01:00
Martin Piatka
c9cc2801bc CI: Linux/SDL: Install xtest build dependency 2025-12-05 13:00:21 +01:00
Martin Pulec
e710195825 updated FIXES.md 2025-12-05 11:12:07 +01:00
Martin Pulec
dc4abb46c1 vdec/lavc: fix ProRes decode
fixes decode broken since the commit 7dd9a44 (2025-10-23)

refers to
<https://github.com/CESNET/UltraGrid/issues/479>

closes
<https://github.com/CESNET/UltraGrid/issues/481>
2025-12-05 09:26:20 +01:00
Martin Pulec
d58cb2a591 CI delta SDK: output name explicitly
When non-free SDK path is provided but the server curl automatic path
with -O doesn't work (eg. the downloaded file name is passed in a GET
variable).
2025-12-04 16:52:49 +01:00
Martin Pulec
af37525456 configure.ac: fix avfoundation + ensure
AV Foundation was never enabled due to a error in configure

broken since f1745fba (2025-05-23)
2025-12-04 14:39:03 +01:00
Martin Pulec
4390ab0386 CI AJA: use release branch
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.
2025-12-04 14:39:02 +01:00
Martin Pulec
2681ce6547 lavc: AV_PIX_FMT_YUVA444P12 !present compat + typo 2025-12-04 08:50:18 +01:00
Martin Pulec
34418e7770 vdisp/sdl3: set render clear color
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).
2025-12-04 08:50:18 +01:00
Martin Pulec
662aeb80db vcomp/lavc: do not wrap the output for the output
Long lines do not harm here but it will make unusable grepping like in:
<https://github.com/CESNET/UltraGrid/issues/479> and GH-480.
2025-12-04 08:50:15 +01:00
Martin Piatka
1daec22f47 vcap/pipewire: Fix screen capture 2025-12-01 12:49:28 +01:00
Martin Pulec
cd2eb43fb9 updated FIXES.md 2025-11-25 15:08:07 +01:00
Martin Pulec
41035c3864 CI macOS 14 (arm64) deployment fix
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>
2025-11-25 15:03:22 +01:00
Martin Pulec
3503bb1ad3 AppImage: include libOpenGL.so.0 fallback
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.
2025-11-25 15:03:06 +01:00
Martin Pulec
4e381b9324 create FIXES.md 2025-11-21 11:52:20 +01:00
Martin Piatka
a407c6b24d lavc: Fix r12l_to_gbrp12le conversion 2025-11-18 10:32:14 +01:00
Martin Pulec
7cc5726470 UltraGrid 1.10 v1.10 2025-11-14 16:30:31 +01:00
Martin Pulec
f4f54fdae9 partially revert 194cb695
The REST API returned 4xx on unknown object but valid JSON body. As
written originally, valid JSON was assumed (result queried on null).

So revert back the original curl calls where acquiring JSON.
2025-11-14 16:30:28 +01:00
Martin Pulec
c833d1adfa updated NEWS+splashscreen for next release 2025-11-14 13:47:05 +01:00
Martin Pulec
fc5ff25315 CI PCP: simplified
- '|| true' no longer needded
- CFLAGS also doesn't seem to be required
- remove --disable-shared - when possible, linkling dynamic library may
be rather preferred than the contrary
2025-11-14 13:47:04 +01:00
Martin Pulec
17eb5a0f3a CI Mac: fail if SDK_NONFREE_PATH but no delta SDK
Co not continue if SDK_NONFREE_PATH is set but deltacast
SDK not present there. At this time, this will fail later in
.github/scripts/install-common-deps.sh, anyways. Also the DELTACAST
SDK remains the last non-free SDK so it doesn't make sense to define
SDK_NONFREE_PATH GH variable while not having that SDK.
2025-11-14 13:47:04 +01:00
Martin Pulec
64f3595238 jpeg_reader: SPIFF: port changes from GPUJPEG
GPUJPEG commit 06f18868b message:
````
    gpujpeg_reader spiff: directory read fix+updates

    - FIXED: skipping content the dir entries other than EOD (+ early returns)
    - pass the complete length, not -2 (it is misleading)
    - length check - increase from 6 (4+2) to 8 - T.84 says ELEN should be at
    least 8 (seems that EDATA should be at least 2 bytes)
```
2025-11-14 13:47:04 +01:00
Martin Pulec
d803eb5ed8 data/README.md: use MarkDown sections 2025-11-14 13:47:04 +01:00
Martin Pulec
c68ba8d4e3 utils/string.c: msvc compat 2025-11-14 13:47:04 +01:00
Martin Pulec
10342c15ff utils/string.h: nodiscard attribute instead of GNU
use C23/C++17 standard attribute instead of GNU attribute extension
2025-11-14 13:47:03 +01:00
Martin Pulec
ba0d897c50 replace vidcap_params_set_capture_filter with _add_
Improves the commint 4682cf65 (2024-08-19) allowing also the capture
filter to be specified both before and after the vcap (if only one
used), eg.  `-F flip -t testcard -F mirror`.
2025-11-14 10:35:04 +01:00
Martin Pulec
eed2cd4f32 video_capture_params.cpp: IWYU 2025-11-14 10:04:49 +01:00
Martin Pulec
38681a79be lavc: set bitrate only if >0
Set the bitrate only if >0. Do not set if neither set explicitly nor by
the codec preset - eg. for APV avg_bpp is intentionally set to 0. The
libopenapv uses CQP by default and setting the bitrate explicitly
disables that.

Note that this setting doesn't do anything important - setting the
AVCodecContext::bitrate to 0 does nothing. This change is avoid displaying
"Setting bitrate to 0.0 bps." message.
2025-11-13 14:42:22 +01:00
Martin Pulec
a25392bade vcomp/lavc: add setparam for liboapv
This fixes the situations when selected AVPixelFormat is not
AV_PIX_FMT_YUV422P10.

closes <https://github.com/CESNET/UltraGrid/issues/472>
2025-11-13 14:10:56 +01:00
Martin Pulec
2ebd7d6e3e vcomp/lavc: lavc_opts - pass setparam a copy
setparam callback is free to alter the copy, which is then used for the
actual setting.

blacklist_opts is therefore no longer needed - the formerly blacklisted
option can now be erased from the lavc_opts copy directly.
2025-11-13 11:42:23 +01:00
Martin Pulec
9652fbc0b5 to_lavc_vid_conv: add convs R12L->yuv422p1Xle 2025-11-13 11:08:54 +01:00
Martin Pulec
c7ed5a15c0 vcap/testcard: make default format 1080p24
Use internaced format no longer - it is perhaps obsolescent in 2025. Also
if setting sizes like s=2160p, 50i was retained which is perhaps weird.
2025-11-13 09:38:51 +01:00
Martin Pulec
8cfe1af9c3 CI Win PCP: removed the patch
accepted in upstream
2025-11-12 10:13:40 +01:00
Martin Pulec
cc5ff8417d CI: move cineform patch to patches/ subdir 2025-11-12 08:15:14 +01:00
Martin Pulec
bfbaddb2f0 CI Win: unpin libpcpnatpmp
but the code still needs to be patched

this roughly reverts the commit 382f2fc26b
2025-11-11 16:19:57 +01:00
Martin Pulec
89c3ed6f2c mark some more compat headers as IWYU export
not all compat/ headers are marked as exporting, 2 reasons:
- some compat define own symbols, like platform_semafore or aligned_malloc
(not _alloc as in C11)
- some headers are too generic to export all symbols, eg. unistd.h
or windows.h
2025-11-10 15:56:22 +01:00
Martin Pulec
8896b87b44 compat/strings.h: IWYU export strings.h
The includer needs no longer use IWYU pragmas for strcasecmp in *NIX.

In Windows, _stricmp is defined in string.h, which is not currently
exported (it contains more symbols so it isn't specific enough, in
contrary to POSIX strings.h which contains just strcasecmp and ffs
family).
2025-11-10 15:56:22 +01:00
Martin Pulec
23e014b3de vcomp/gpujpeg: IWYU
(removed initilizer_list)
2025-11-10 15:56:21 +01:00
Martin Pulec
af1f6e493c usage: remove exec_path parameter
Unneeded, ug_argv and ug_argv[0] already set so the nullptr check is
also unnecessary.
2025-11-10 15:56:21 +01:00
Martin Pulec
8c0a79cba6 main usage: fix GCC 15 warning
fix the warning:
```
/usr/include/c++/15.2.1/bits/new_allocator.h:172:66: warning: ‘void operator delete(void*, std::size_t)’ called on pointer ‘__result’ with nonzero offset 32 [-Wfree-nonheap-object]
  172 |         _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n));
```

full warning:
<https://gist.github.com/MartinPulec/976f020990831e40de4dc206f2cebf30>

Most likely false positive.
2025-11-10 15:56:05 +01:00
Martin Pulec
0fa5186ba4 deltacast_dvi: utilize DELTA_PRINT_ERROR
(+ MSG where we don't use VHD Result)
2025-11-07 16:48:11 +01:00