Commit Graph

7191 Commits

Author SHA1 Message Date
Martin Pulec
b6f1684359 fixed new zfec still crashing in Win
imroves 2af4ace25 fix, which didn't work for Windows, since the compiler
here doesn't accept include with absolute path:
```
tst.c:4:10: fatal error: '/usr/local/src/zfec/fec.h' file not found
    4 | #include "/usr/local/src/zfec/fec.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```

(neither <> syntax works)
2023-11-08 15:19:22 +01:00
Martin Pulec
0d54328bbc CI Win: build own Spout
closes GH-352

It looks like the pre-build library BUILD/Binaries/x64/SpoutLibrary.dll
is no longer compatible with the headers in Git.

Pre-built library version is 2.007.010 while the latest version on GitHub
is Spout 2.007.012. When building Spout from sources, the referenced
issue no longer occurs. Also the libraries are not expected to be included
in the Git in future (leadedge/Spout2#103).
2023-11-06 13:38:25 +01:00
Martin Pulec
920ba5f349 CI mac: switch to macOS 12 Monterey
Homebrew builds now dependencies from sources on unsupported macOSes
(which is 11 now), which makes it slow. Relevant snippet from brew output:
```
Warning: You are using macOS 11.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
```
2023-11-03 17:00:57 +01:00
Martin Pulec
bf71e3d257 FIXES.md: fixed MD header levels 2023-10-24 09:29:03 +02:00
Martin Pulec
6328048ed3 UltraGrid 1.8.6 v1.8.6 2023-10-20 13:57:12 +02:00
Martin Pulec
5fabf0be17 FIXES.md: 1.8.6 2023-10-20 13:56:58 +02:00
Martin Pulec
66e126a26e win build fix
fixes Windows build
<https://github.com/CESNET/UltraGrid/actions/runs/6297538250/job/17094711745>
2023-10-20 13:56:05 +02:00
Martin Piatka
d1900ad260 tools/astat: Add missing include guard 2023-10-20 13:26:32 +02:00
Martin Piatka
b7e6f78cec GUI: Don't hide hw accel checkbox on non-linux platforms
Since there are now hw accels available on other plaforms (videotoolbox
on mac and maybe vulkan decode on Windows) it no longer makes sense to
hide the option on those platforms.
2023-10-20 10:04:57 +02:00
Martin Pulec
299cfbc242 Reed-Solomon (zfec): fixed fec_new fail
With current zfec code, fec_init() needs to be called prior to fec_new(),
otherwise the later one returns NULL.

\+ updated submodule to the current zfec version (requiring fec_init();
but UG will compile with the older zfec version as well)
2023-10-09 11:06:18 +02:00
Martin Pulec
fc56078180 UltraGrid 1.8.5 v1.8.5 2023-09-21 11:37:44 +02:00
Martin Pulec
869e299a63 FIXES.md: 1.8.5 2023-09-21 11:37:43 +02:00
Martin Pulec
5a01a8eb37 CI: macOS compilation fix (Vulkan missing hdr) 2023-09-21 11:36:52 +02:00
Martin Pulec
34c93563cb fixed swittcher when :excl_init is used
\+ fixed device names not being stored except first device with excl_init

see also commit a24e194d fixing the issue without that option

refers to GH-336
2023-09-21 11:36:52 +02:00
Martin Pulec
18effe6760 vidcap_switcher_done: small updates 2023-09-21 11:36:51 +02:00
Martin Piatka
10474eb8e5 holepunch: Don't bind any particular address 2023-09-21 09:58:36 +02:00
Martin Pulec
465473e1f8 build fixes - see upstream 2023-09-15 09:37:07 +02:00
Martin Pulec
194cf0e97d audio: mixer segfault fix
Broken since 2021-05-25 (commit 1d47a5f0), which put the initialization
of rtp socket after passing to the mixer.
2023-09-15 09:34:32 +02:00
Martin Pulec
ecc9b0ffb4 fixed file capture when initialized from switcher
refers to GH-316
2023-09-15 09:22:30 +02:00
Martin Pulec
e7099eee5c UltraGrid 1.8.4 v1.8.4 2023-08-22 11:55:15 +02:00
Martin Pulec
b05b63c162 FIXES.md: 1.8.4 2023-08-22 11:32:40 +02:00
Martin Pulec
39be76faec UG build fix: expired homepage SSL certificate
when SSL certificate expires, appstream is refused during validation,
see:

    https://github.com/CESNET/UltraGrid/actions/runs/4934011070/jobs/8818552835

the homepage doesn't seem to be required for the AppStream so remove it
2023-08-21 16:09:12 +02:00
Martin Pulec
735b32290d configure: do not prefer qmake6 over qmake
See also previous commit - if Qt6 is installed in macOS, _qmake6_ is
linked to _/usr/local/bin_.
2023-08-21 15:18:25 +02:00
Martin Pulec
ef7a7b890e CI mac: enforce use of Qt5 even if Qt6 present
fixes failed run
<https://github.com/CESNET/UltraGrid/actions/runs/5925739298/job/16065753514>

From some point, it seems that Qt6 (Homebrew port _qt_) is already
installed but it doesn't bundle successfully. So enforce using Qt5
(previous symlink command didn't replace the `/usr/local/opt/qt` symlink
if already present).

\+ copy the link instead of linking it to prevent:

    Error: /usr/local/opt/qt@5 is not a valid keg
2023-08-21 14:47:07 +02:00
Martin Pulec
942bf29d1f gpujpeg: support for version 0.21
It changes sizes' type from int to size_t, but only one place needs to
be changed in UG.
2023-08-21 13:29:40 +02:00
Martin Pulec
eb6ac4bcdb Revert "CI Linux FFmpeg: remove NVENC IDR patch"
This reverts commit e457ab87f7 but the
patch is updated to match current FFmpeg.

The FFmpeg commit that seemed to do the same (7eeef72c6) is not working
correctly because it assigns idrPeriod cc->gopLength, which was set to
NVENC_INFINITE_GOPLENGTH above in case of intra-refresh.

refer to GH-330
2023-08-21 12:45:00 +02:00
Martin Pulec
181b79f68d pbuf: fixed dropped frm after TS wrap-around
timestamp wraparound was not properly handled

Until 3480fc647 (2023-06-28) this occured just after 13 hrs (2^32 overflow
with 90 kHz clock) because the timestamp initial random offset was taken
from uninitilaized random generator. Since this change, this can can
occur randomly every those 13 hrs.
2023-08-21 12:41:48 +02:00
Martin Pulec
c859f7b44c indent_paragraph: misc fixes
- avoid computing line len from (line_start - pos), because this gives
  raw line length, but we want net (without esc seqences)
- unconditional line wrap - moved after normal processing. The reason is
  to wrap something linke "word <other_100_char_word>" between the 2
  words
- when line was wrapped, the vars were incorrectly set, namely in the
  else-branch, `pos` should have been `last_space + 1` not `next + 1`
  ("b <very_long_word> c" evaluated after the long word)

fixes CID 415859
2023-08-21 12:40:56 +02:00
Martin Pulec
2a9236fa03 indent_paragraph: fixed wrapping
First word was actually not counted to line_len which means that the
the limit of 80 columns was evaluated not counting this word.
2023-08-21 12:26:11 +02:00
Martin Pulec
e0d8aceed4 DELTACAST: VideoMaster 6.21 compat
VHD_BOARDTYPE_HDMI is neither deprecated in 6.21, nor
VHD_BOARDTYPE_HDMI_DEPRECATED is defined anymore.
2023-08-21 12:09:44 +02:00
Martin Pulec
cb2834caba CI Linux: prevent mkappimage auto upload
mkappimage now tries to automatically upload the asset if it detects
running in GitHub CI, which is not the behavior we perhaps want because
it deletes and recreates our _continuous_ release.

See following failed run:
https://github.com/CESNET/UltraGrid/actions/runs/5575039257/jobs/10185765784

+ fixed `wget` presence check in `create-appimage.sh`
2023-07-20 08:53:20 +02:00
Martin Pulec
85db624f28 CI Linux FFmpeg: remove NVENC IDR patch
Since the FFmpeg commit 7eeef72c6, the IDR period is set to gopLength
unconditinally even for intra-refresh mode, which is what the removed
patch did.

+ do not check if FFmpeg is patched (the macro is )
2023-07-20 08:51:41 +02:00
Martin Pulec
1b33f1658e CI: removed SVT-VP9 FFmpeg patch
Isn't needed as for:
https://github.com/OpenVisualCloud/SVT-VP9/issues/167#event-9831723954
2023-07-20 08:50:47 +02:00
Martin Pulec
5b5a2c90fb audio codec: do not pass empty channels to dec
libavcodec audio decoder has assertion on channel non-emptiness (which
is perhpas correct - there cannot be anything done there) so do not pass
emtpy channels.

refer to GH-316
2023-06-20 16:12:32 +02:00
Martin Pulec
1a037f87b1 vidcap file: support for interlaced file
closes GH-321
2023-06-20 16:11:38 +02:00
Martin Pulec
97eed0d1e9 configure: fixed OpenCV 2 support 2023-06-20 16:05:20 +02:00
Martin Pulec
8c27ce0e23 playback: fixed K_UP to be +60s, not 60 frames 2023-06-20 16:02:38 +02:00
Martin Piatka
a5f8bb642a acap/wasapi: Fix setting sample rate 2023-06-20 15:59:01 +02:00
Martin Pulec
50795100f2 fixed CoreAudio default devices
if no configuration is set, empty string ("") is passed, not NULL

This resulted in wrong device set 0 set because the atoi doesn't check
its arguments. Example of fixed behavior:

    uv -s testcard -r coreaudio

`AudioUnitSetProperty(s->auHALComponentInstance, kAudioOutputUnitProperty_CurrentDevice,
kAudioUnitScope_Global, 1, &device, sizeof(device));` succeeded with 0
for some reason (but not with other values).
2023-06-20 15:58:16 +02:00
Martin Pulec
8061668bc1 testcard: fixed a crash 2023-06-20 15:46:27 +02:00
Martin Pulec
5f4d659126 hd-rum-translator: do not crash on incorrect use
do not crash on `hd-rum-transcode 8M 5004 -P 8000` (hostname missing
after port specification)
2023-05-23 11:11:07 +02:00
Martin Pulec
edd627917a UltraGrid 1.8.3 v1.8.3 2023-05-04 10:32:25 +02:00
Martin Pulec
975919d9f1 CI mac compilation fix
Fixes failed run:

    https://github.com/CESNET/UltraGrid/actions/runs/4827804161/jobs/8600918491
2023-05-04 10:32:24 +02:00
Martin Pulec
dd7316b5de added 1.8.3 section to FIXES.md 2023-05-04 10:32:19 +02:00
Martin Pulec
5f4e9c7087 bmd_common: BMC_CONFIG_SET - set bools unconditionally
see GH-306
2023-05-03 16:32:47 +02:00
Martin Piatka
ede867ca93 reflector: Fix removing conference participant
Delete the participant only after we take it's address. Fixes deleting the
wrong port.
2023-05-03 15:20:07 +02:00
Martin Piatka
801b9b6702 reflector: Fix replica module name
The string length calculation didn't consider the ':' separating address
and port, thus cutting out the last digit of the port.
2023-05-03 15:20:06 +02:00
Martin Pulec
cb3054784b dshow: index by number +1
Fixes commit c171ef44 from 2022-10-19 that changed the indexing from
zero.
2023-04-26 15:37:55 +02:00
Martin Pulec
ad2083de4d Reed-Solomon video: support multiple tiles 2023-04-24 11:07:40 +02:00
Martin Pulec
9dbe0e7396 GPUJPEG: fixed parsing of q=/restart= parameters 2023-04-24 11:04:33 +02:00