Commit Graph

10902 Commits

Author SHA1 Message Date
Martin Piatka
cdb2dc1b4d crypt_aes: Use stdbool.h bools 2025-11-20 12:38:35 +01:00
Martin Piatka
da5fb4564d coreaudio: Use stdbool.h bools 2025-11-20 12:38:35 +01:00
Martin Piatka
f29c3083a5 bluefish444: Replace bool macros with normal bool 2025-11-20 12:38:34 +01:00
Martin Piatka
df233b900d bitstream: Remove config_* usages 2025-11-20 12:38:34 +01:00
Martin Piatka
fd8faf6a94 video_rxtx/loopback: Replace TRUE & FALSE macros 2025-11-20 12:38:34 +01:00
Martin Piatka
0cd8b3f906 compress/uyvy: Replace TRUE & FALSE macros 2025-11-20 12:38:34 +01:00
Martin Piatka
b959aece2e decompress/cineform: Replace TRUE & FALSE macros 2025-11-20 12:38:34 +01:00
Martin Piatka
03db053e4a tfrc.c: Replace TRUE & FALSE macros 2025-11-20 12:38:34 +01:00
Martin Piatka
5de883d484 tv.c: Replace TRUE & FALSE macros 2025-11-20 12:38:33 +01:00
Martin Pulec
90661fd5c6 vcap/testcard2: option to enforce built-in font
even if SDL_ttf is cmopiled in
2025-11-20 11:23:15 +01:00
Martin Pulec
db333214e8 vcap/testcard2: refactor - move renders to fns 2025-11-20 11:23:14 +01:00
Martin Pulec
4a6cde081a vcap/testcard2: allow _done to be called from _init
Allow partial destroy - moved some inits at the beginning + join the
thread only if started.
2025-11-20 11:23:03 +01:00
Martin Pulec
2c9a500688 testcard2 ttf: clean-up SDL_ttf stuff 2025-11-20 09:08:46 +01:00
Martin Pulec
eea26589f8 testcard2: initialize the SDL font in init
TTF_Init, TTF_OpenFont should be possibel to call from any thead.

This eliminates the cumbersome thread exitting if the TTF init fails.
2025-11-20 09:08:46 +01:00
Martin Pulec
8bb8b2cb81 gh/create_release: check URL not empty
ensure URL is not empty

see also f4f54fda - adding -f to curl caused URL to be empty if release
was not found (was to be created) - the GH REST API returns 404 with
a valid body without -f but fails with empty. Since `-o pipefail` is not
used, the curl error was not used because last command of pipeline is jq.
2025-11-20 09:08:42 +01:00
Martin Pulec
7bf010a36b jpeg_reader spiff: fix skipping invalid dir marker
fixes CID 897314
2025-11-19 08:14:43 +01:00
Martin Piatka
d5f4b73d4f Makefile.in: Add sdp_parser to test build
sdp_parser is an non-essential object, but is needed to build the test for it
2025-11-18 14:36:11 +01:00
Martin Piatka
af58331587 Update NEWS 2025-11-18 13:12:55 +01:00
Martin Piatka
293b4fb6d1 acap/aes67: Optimize lock hold time 2025-11-18 13:08:35 +01:00
Martin Piatka
432c0b2851 acap/aes67: Remove unused include 2025-11-18 12:45:51 +01:00
Martin Piatka
779ec4b030 acap/aes67: Mark method as const 2025-11-18 11:16:58 +01:00
Martin Piatka
e37e969ad3 acap/aes67: Add missing initializers 2025-11-18 11:13:29 +01:00
Martin Piatka
154d768ae8 acap/aes67: Use swap_endianity 2025-11-18 11:09:19 +01:00
Martin Piatka
756e321961 audio/utils: Add endianity swap 2025-11-18 11:09:19 +01:00
Martin Piatka
52da6b5014 utils/sdp_parser: Fix rtp padding handling 2025-11-18 11:09:19 +01:00
Martin Piatka
a1af69da72 tests: Some tests for Rtp_view 2025-11-18 11:09:19 +01:00
Martin Piatka
ab7bffc35d acap/aes67: Improve help text 2025-11-18 11:09:19 +01:00
Martin Piatka
d8db7bf354 acap/aes67: Factor creating a Sap_session from SDP into own function 2025-11-18 11:09:19 +01:00
Martin Piatka
87049aab63 Add AES67 capture 2025-11-18 11:09:18 +01:00
Martin Piatka
5479c5098f tests/sdp_parser: Test session origin fields 2025-11-18 11:09:18 +01:00
Martin Piatka
f6d0a75f96 utils/sdp_parser: Parse the origin into fields 2025-11-18 11:09:18 +01:00
Martin Piatka
1cb533ccae utils/sdp_parser: Support padding in rtp packets 2025-11-18 11:09:18 +01:00
Martin Piatka
31d18ef30d tests: Some SAP parsing tests 2025-11-18 11:09:18 +01:00
Martin Piatka
a94b53f50e utils/sdp_parser: Check length 2025-11-18 11:09:18 +01:00
Martin Piatka
9c4df61c8d utils: Add SDP parser 2025-11-18 11:09:18 +01:00
Martin Piatka
c4e20cf044 lavc: Fix r12l_to_gbrp12le conversion 2025-11-18 10:33:23 +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