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
Martin Piatka
0dace6272c
GUI: Fix direct OpenGL calls
2022-03-23 11:12:08 +01:00
Martin Pulec
a126236fcf
DeckLink cap.: Windows compilation fix
...
BMDVideoOutputConversionMode is enum in Windows (compared to uint32_t in
Linux) and thus the compiler complains about the int->enum cast.
2022-03-23 09:58:12 +01:00
Martin Pulec
20f107df66
GitHub CI C/C++ [Win]: updated CUDA toolkit
...
To fix failed run:
https://github.com/MartinPulec/UltraGrid/runs/5646203963
See also e2174fba
+ use network installer again (see 0a1b71789 )
2022-03-23 09:43:47 +01:00
Martin Pulec
4f42ed73ae
GitHub CI [Win]: use CUDA 11.5
...
+ derive used version from URL
2022-03-23 09:43:46 +01:00
Martin Pulec
cd09212088
GitHub CI C/C++ [Win]: fixed JACK2 installation
...
JACK installed with Chocolatey ceased to run unattendedly thus
installing it directly now.
2022-03-23 09:43:46 +01:00
Martin Pulec
16108d0f36
GitHub CI C/C++ Lin. FFmpeg: disable SVT HEVC/VP9
...
Temporarily disable SVT HEVC/VP9.
With current FFmpeg upstream updates, patch doesn't apply and there is
no simple way to fix now (FFCodec was introduced in addition to AVCodec)
so disable it at least temporarily until the patch is fixed.
References:
- https://github.com/CESNET/UltraGrid/actions/runs/2016955211
- https://github.com/OpenVisualCloud/SVT-HEVC/issues/614
2022-03-23 09:43:44 +01:00
Martin Pulec
12da43bc8a
.github/scripts/macOS/sign.sh: do not leak password
2022-03-04 10:14:01 +01:00
Martin Pulec
f73691687d
configure.ac: remove bashism + unused parameter
...
This partially reverts eb390d344 .
2022-03-02 10:25:09 +01:00
Martin Pulec
79781e37fb
Fixed crash from commit 54befa49
...
Fixed incorrect number of channels allocated when there is channel
remapping, eg.:
uv -s testcard -r dummy --audio-channel-map 0:1
The problem occurs in code introduced by commit 54befa49 but the array
is also used elsewhere, namely read by decode_audio_frame().
2022-03-02 10:25:09 +01:00
Martin Pulec
e0516a3819
DeckLink disp.: fix not supported conversion mode
...
refers to GitHub issue #215
2022-03-02 10:24:59 +01:00
Martin Pulec
4d9df49ead
tv_add_usec: fixed handling of > 2^31 ms offset
...
+ improved a bit
2022-01-25 12:11:22 +01:00
Martin Pulec
a06d459a80
UltraGrid 1.7.2
v1.7.2
2022-01-18 11:56:26 +01:00
Martin Pulec
7d8c2c7daa
ndi_common.h: properly mark string literal as UTF-8
...
+ missing space before (R) mark
+ make NDI_PRINT_COPYRIGHT macro call look like function
2022-01-14 15:51:45 +01:00
Martin Pulec
14017ee0fe
common_preinit: Win - set output as UTF-8
2022-01-14 15:51:45 +01:00
Martin Pulec
0627ebee99
GitHub CI [Windows, NDI]: added additional wait if NDI not (yet?) present
2022-01-14 15:51:45 +01:00
Martin Pulec
78b608d7b4
ndi_common.h: try also lib in /usr/local/lib
...
NDI redist installer doesn't set NDILIB_REDIST_FOLDER environment
variable and installs to /usr/local/lib by default.
+ fixed too short allocated string - missed length of '/'
2022-01-14 15:51:43 +01:00
Martin Pulec
ff4a320a45
GitHub CI: current NDI bug workaround
2022-01-13 16:43:10 +01:00
Martin Pulec
83b7a610b1
Added NDI branding
2022-01-13 16:43:08 +01:00
Martin Pulec
b7ad3cb9ce
create_release.sh: use ATX markdown hdr instead of bold for changes and fixes
...
This allows having some formatting in FIXES.md, eg. for different minor
versions like that:
#### 1.7.1
- changes for 1.7.1
- another fix in 1.7.1
### 1.7.2
- fixes for 1.7.2
+ join the lines like beginning with spaces more inteligently
2022-01-11 15:44:17 +01:00
Martin Pulec
4dd888b6f0
Updated FIXES.md
2022-01-11 14:55:18 +01:00
Martin Pulec
8645e4bcb4
GitHub CI: download NDI directly from NewTek
...
and build it unconditionaly.
2022-01-11 13:31:11 +01:00
Martin Pulec
ac6ffee02a
GitHub CI: build NDI by default if SDK is found
...
Removed separate NDI handling (branch ndi-build and build it as upstream (if SDK is found)
since NDI is now dynamically runtime loaded.
2022-01-11 13:30:51 +01:00
Martin Pulec
c32dd4bd4e
NDI: open dynamically on runtime
...
To avoid adding NDI library yet allowing user to install it separately and use it with UG.
2022-01-11 13:28:48 +01:00
Martin Pulec
c53d966e80
Audio compress: fixed encoder changing BPS with multichannel
...
Fixed a situation when audio compression changes BPS, eg. AAC:
uv -s testcard --audio-codec AAC --audio-capture-format channels=2
2022-01-07 09:46:11 +01:00
Martin Pulec
81f70742de
GitHub CI [Win, VHD]: fixed current (6.18) lib location
2021-12-06 14:10:58 +01:00
Martin Pulec
2441e9cfd6
build_aja_lib_win64.sh: missing libs
...
NTV2 ver 16.1 requires some more libraries.
2021-12-06 14:10:56 +01:00
Martin Pulec
9d17f00980
GitHub CI [Win, AJA]: AJA 16.1 compat - use glob for VS proj
2021-12-06 14:10:50 +01:00
Martin Pulec
f4f370f683
UltraGrid 1.7.1
v1.7.1
2021-12-03 08:18:25 +01:00
Martin Pulec
0074087968
AppImage: Rocky Linux 8 compat
2021-12-03 08:18:20 +01:00
Martin Pulec
9c6b13a836
GitHub CI: add bugfix changelog to GH release
...
Fixes are listed in file FIXES.md
+ fix the link to full changelog
2021-12-02 12:11:07 +01:00
Martin Pulec
c3a03c51aa
Added FIXES.md
2021-12-02 11:43:33 +01:00
Martin Pulec
775a0a2282
Linux AppImage: remove libgdk-3.so.0
...
This causes a crash of uv-qt on U21.10.
Actually it suffices to remove libffi.so.6 instead but it is a
dependency of SDL2.
2021-12-02 11:09:56 +01:00
Martin Pulec
9eadc71649
create_continuous_release.sh: missing EOF + double-quote vars
2021-11-26 15:45:34 +01:00
Martin Pulec
23b8bfcad6
GitHub CI [Linux]: bundle i965-va-driver-shaders
...
Bundle i965-va-driver-shaders instead of i965-va-driver. This should be
superior:
"This package contains also contains the non-free encode shaders for
VP8, VP9, HEVC and AVC for generation 7.5 hardware or newer."
2021-11-26 15:45:21 +01:00
Martin Pulec
695ed90df6
Fixed compilation when HTTP SDP is disabled
2021-11-25 16:11:11 +01:00