Commit Graph

5506 Commits

Author SHA1 Message Date
Martin Pulec
d6874ee2ce UltraGrid 1.7.7 v1.7.7 2022-10-26 14:28:52 +02:00
Martin Pulec
00099165d3 CI: use macos-11 for macOS runner
macos-latest is now macos-12 in current runs so build it on macOS
11 to support macOSes Big Sur that are still supported by Apple
2022-10-26 14:26:27 +02:00
Martin Pulec
e54cc26d8e AppImage: use scripts from master
This version preloads libva drivers from system if possible.

see #165
2022-10-24 12:24:10 +02:00
Martin Pulec
0a2bd24af0 Makefile: CUDA_INC to CUDA compiler instead of INC
Passing the parameter to MSVC compiler causes MinGW headers to be
used which causes compilation fail.

See:
https://github.com/CESNET/UltraGrid/actions/runs/2059190533
2022-10-21 08:28:11 +02:00
Martin Pulec
be641a8d5e fixed pacman auto-confirmation in previous commit
+ fixed PATH (missing $)
2022-10-20 13:33:15 +02:00
Martin Pulec
855293eec0 CI Win lib555: use ld from binutils
lld (from clang) didn't work

Fixes failed run:
https://github.com/CESNET/UltraGrid/actions/runs/2207798105
2022-10-20 12:10:31 +02:00
Martin Pulec
f72c6743ec CI Win: use clang64 env instead ucrt64
Both use ucrt as a C library but ucrt64 (with gcc) presents some
spurious warnings (eg. not knowing "%zu" printf conversion) which makes
it questionable if correct headers are used.
2022-10-20 11:27:38 +02:00
Martin Pulec
d891cab2ca DeckLink cap.: use bmdNoVideoInputConversion for check
Although the conversion shouldn't be set (see #215), still a valid value
('none' here) must be used for the check.

Fixes #221
2022-10-20 10:32:10 +02:00
Martin Pulec
2d451e894e NDI cap.: fixed interlaced capture
Fixed conversions of interlaced signal

+ convert_BGRA_RGBA, convert_P216_Y216 - move width before the loop
2022-10-20 10:20:44 +02:00
Martin Pulec
2179a4ce76 Deltacast: VideoMaster 6.20 compat
But breaks compatibility with 6.19, 6.18 and earlier works (see note in
code).
2022-10-07 14:49:07 +02:00
Martin Pulec
f5a068d947 CI: removed PPA for SDL2
see also a2f5a78c and 59871a68
2022-09-23 15:28:17 +02:00
Martin Pulec
45863de0b7 playback: fixed registered keybindings
import needs 's' suffix for seconds
2022-09-23 15:26:20 +02:00
Martin Pulec
c019d8b2da UltraGrid 1.7.6 v1.7.6 2022-08-23 07:50:28 +02:00
Martin Pulec
702b530866 create_[con_]release.sh: handle HTTP status != 200 2022-08-23 07:50:28 +02:00
Martin Pulec
f628a16a9a CI: json-common.sh - safety check + escape 2022-08-23 07:50:21 +02:00
Martin Pulec
9c79ef9f73 create_release.sh: enable debug output 2022-08-23 07:39:22 +02:00
Martin Pulec
dbe05eab33 create_continuous_release.sh: other fixes
- fetch really 'continuous' release, not $TAG (perhaps c&p error from
  create_release.sh)
- create tag only if not exists
2022-08-23 07:39:22 +02:00
Martin Pulec
492f9b8351 create_continuous_release.sh: force fetch
It looks like git on GH tags without signatures first and thus the
consequent fetch in create_continuous_release.sh fails because it
fetches signed tag (although it is the same object).

See also:
https://github.com/MartinPulec/UltraGrid/actions/runs/2902280934

+ enable debugging in the script (`-x`)
2022-08-23 07:39:22 +02:00
Martin Pulec
06b2d13ee7 restore old tio in crash_signal_handler
In case of crash, atexit callbacks are not called, thus terminal state
is not restored (if modified by keyboard control).
2022-08-23 07:39:22 +02:00
Martin Pulec
c03ba7bcad DeckLink disp.: use unique_ptr for VideoDelegate
was leaked before
2022-08-23 07:39:22 +02:00
Martin Pulec
f2664a4bd8 DeckLink cap.: release decklinkAttributes
(+ removed needless /but harmless/ repeated releasing of
   decklinkConfiguration)
2022-08-23 07:39:21 +02:00
Martin Pulec
59a1d24ef3 DeckLink cap.: supress IDeckLinkDisplayMode::GetName fail
For a reason, this sometime fail resulting to following error:

    [DeckLink capture] set_display_mode_properties: out of memory

+ release_bmd_api_str: NOOP if nullptr passed (can be now the case since
  the code is more permissive)
2022-08-23 07:39:18 +02:00
Martin Piatka
5f7ea72c0d CI: Update svt-av1 repo URL 2022-08-22 15:25:05 +02:00
Martin Piatka
2f3bd0ec54 screen_win: Fix crash on startup
The crash was caused by null parent module in the vidcap_params created
by vidcap_screen_win_init().
2022-08-22 09:56:21 +02:00
Martin Pulec
0475bbffab NDI cap.: default val for NDIlib_recv_create_v3_t
Since default C++ constructors are no longer used for NDI,
zero-initialization intializes NDIlib_recv_create_v3_t::bandwidth to 0,
which is NDIlib_recv_bandwidth_lowest.
2022-08-22 09:48:23 +02:00
Martin Pulec
b118062b8e UltraGrid 1.7.5 v1.7.5 2022-06-21 12:25:43 +02:00
Martin Piatka
08dc697267 GUI: When killing processes leave a message in log
When ug process doesn't respond to termination GUI needs to kill it.
This makes the return code equal to 9 and GUI complains about a crash.
Without a message in the log this could have been confusing.
2022-06-21 12:22:51 +02:00
Martin Pulec
4b5eaebafc Revert "GitHub CI C/C++ Lin. FFmpeg: disable SVT HEVC/VP9"
This reverts commit 9fbd18b53d.
2022-06-21 10:16:08 +02:00
Martin Pulec
c983447039 V4L2 cap.: unmap buffers 2022-06-21 10:12:25 +02:00
Martin Pulec
bb88cd034f mac: display warning to use alt-build on <10.15 2022-06-21 09:55:58 +02:00
Martin Pulec
11644a2479 GLSL: compilation, link: check errors 2022-06-21 09:34:11 +02:00
Martin Pulec
0fb77b0a5e Worker: signal after unlock
This is more correct anyway but for some reason, it hung when
instrumented by valgrind.
2022-06-21 09:32:31 +02:00
Martin Pulec
7f2d148e9f GitHub CI Win: Version.txt is not present in NDI
Windows distribution of NDI usually doesn't contain Version.txt so do
not use it. Moreover the previous way of creating the version file (in
.bashrc) was not perfect.

Write at least NDI major version if NDI_VERSION is not present.
v1.7.4
2022-05-23 10:07:10 +02:00
Martin Pulec
609ecccf33 UltraGrid 1.7.4 2022-05-23 10:07:09 +02:00
Martin Pulec
afd87e3df3 Backported RTSP capture from master 2022-05-23 10:07:09 +02:00
Martin Piatka
efbf0be226 ldgm gpu: Move cuda_check_error macro
nvcc had some problems with gcc 12.1 stl map templates when compiling gpu.cu.
And since ldgm-session-gpu.h which contained the c++ code was only needed for
this one macro, it's probably better to move it to gpu.cuh which is
already included by all files that need it.
2022-05-23 10:07:09 +02:00
Martin Piatka
514c9966a4 display/dummy: Add missing <memory> include 2022-05-23 10:07:09 +02:00
Martin Pulec
761167c308 C/C++ CI: fixed failed run 658
Fixed failed run:

  https://github.com/CESNET/UltraGrid/actions/runs/2274530865
2022-05-23 10:07:08 +02:00
Martin Pulec
5948fc3d03 dump display: fixed a crash
For opaque codecs (H.264), the allocated size was actually smaller than
(maximal) data len set. That is usually not an issue, but when
destroying, the invalid maximum is exported (because PUTF_DISCARD with
unmodified frame). Steps to reproduce:

    uv -t testcard:size=1280x128 -c libavcodec:codec=H.264 -d dump
2022-05-23 10:07:05 +02:00
Martin Pulec
59ac7e486e lavc: intra-refresh fix 2022-04-12 09:07:24 +02:00
Martin Pulec
443a38bd85 lavc: disable intra refresh for nvenc
Do not enable intra-refresh for NVENC - current implementation in FFmpeg
implies infinite GOP, which is useless for UltraGrid.

+ added option to explicitly enable intra refresh (eg. when we know that
  it is safe to enable it with FFmpeg, eg. with our patched FFmpeg built
  with Linux CI).
2022-04-11 16:39:17 +02:00
Martin Pulec
e072dade13 CI Win FFmpeg: use MSYS2 pkg instead of ext. build
Use MSYS2 version instead of external builds from gyan.net. FFmpeg gets
installed as a dependency anyway and this causes crashes because of
binary incompatibility between those two. See failed run:

https://github.com/CESNET/UltraGrid/actions/runs/2076078289
2022-04-11 16:35:24 +02:00
Martin Pulec
403e4a007d UltraGrid 1.7.3 v1.7.3 2022-03-23 11:12:09 +01:00
Martin Pulec
d858961344 dlerror Win compat: use FormatMessageA explicitly
With current flags, -DUNICODE is defined, thus compiling preview.cpp
using wide function (FormatMessageW) implicitly, thus use FormatMessageA
explicitly.
2022-03-23 11:12:09 +01:00
Martin Pulec
a9e6e05b75 GitHub CI Win: install windeployqt for Qt6 2022-03-23 11:12:09 +01:00
Martin Pulec
a5dd3938d7 GitHub CI C/C++ Win: use Qt 6 2022-03-23 11:12:09 +01:00
Martin Pulec
59f0cdb891 Makefile: QT_CFLAGS->QT_CXXFLAGS
Qt toggles some C warnings not known to C++.
2022-03-23 11:12:09 +01:00
Martin Pulec
3711f78ac6 configure: fixed Qt6 in Windows
The generated Makefile is only umbrella for Debug and Release makefiles.
2022-03-23 11:12:08 +01:00
Martin Pulec
5fd96af8e4 Makefile.astat: build with c++ instead of g++
GCC is not always present (eg. in MSYS2 clang env).
2022-03-23 11:12:08 +01:00
Martin Pulec
599616ea22 confiugre.ac: Qt - search also for qmake6
qmake6 is available in MSYS2 qt6.
2022-03-23 11:12:08 +01:00