Commit Graph

6745 Commits

Author SHA1 Message Date
Martin Pulec
2db2a73803 resize cap. f.: replace opencv.hpp -> imgproc.hpp
Replaced generic opencv.hpp with imgproc.hpp - the former one includes
dependencies on headers that may not be available (at least U18.04 has
this header in -core but references also non-core components).
2022-10-21 12:18:58 +02:00
Martin Pulec
dd817a4f68 configure: allow configuration without pkg-config 2022-10-21 12:18:58 +02:00
Martin Pulec
057aae7503 configure: remove unused OpenCV code 2022-10-21 12:18:58 +02:00
Martin Pulec
8b87811587 configure: removed duplicite HAVE_OPENCV
has exactly the same value as $opencv
2022-10-21 12:18:57 +02:00
Martin Pulec
6eeef0b635 configure: fail if OpenCV requested but not found 2022-10-21 12:18:57 +02:00
Martin Pulec
8413b6f117 Coverity CI: check result of submission
fail if was not successful (eg. quota reached)
2022-10-21 10:56:58 +02:00
Martin Pulec
0b157dae41 control socket: removed a duplicite function
already defined in utils/net.c
2022-10-21 09:07:42 +02:00
Martin Pulec
fa6ff516cd wav_reader: check read ds64 - check overflow 2022-10-21 08:24:21 +02:00
Martin Pulec
a005e9169e 3d-interlaced vo_postprocess fixed
fixed 6f6680fd & CID 401454
2022-10-21 08:18:39 +02:00
Martin Pulec
48ddd23ae1 blackmagic_common.cpp profiles: fixed notification
CID 401453
2022-10-21 08:18:39 +02:00
Martin Pulec
7dcfdbf02d supress CID 401451 2022-10-21 08:18:39 +02:00
Martin Pulec
1ad25a6a9f video testcard: comment out broken code
CID 401450
2022-10-21 08:18:39 +02:00
Martin Pulec
09713f102a WAV reader: removed dead code
CIDs 401449, 401452
2022-10-21 08:18:39 +02:00
Martin Pulec
7c068254a9 wav_reader read_ds64: better error handling
+ allow non-empty tables in ds64 (chunk size can be >28)
2022-10-21 08:18:33 +02:00
Martin Pulec
b534d547bc process_data_chunk: refactorized 2022-10-20 14:26:12 +02:00
Martin Pulec
3036c48c8b WAV reader: reflect CID 401447
+ rename function
+ documentation
2022-10-20 14:14:45 +02:00
Martin Pulec
2f127247c9 dummy display: fixed CID 401446 2022-10-20 14:04:01 +02:00
Martin Pulec
3d149fd1b4 DeckLink cap.: fixed Cov. bugs CID 30144{3,4,5} 2022-10-20 14:03:40 +02:00
Martin Pulec
c96b6f68cd ldgm-session-cpu.cpp: fixed warnings
Some variables were used only by commented-out code, so comment them out
as well.
2022-10-20 13:44:52 +02:00
Martin Pulec
55b3b87d1e Simplified get_local_addresses
+ acknowledged authorship
+ avoid a compiler warning
2022-10-20 13:42:55 +02:00
Martin Pulec
b15e0086a9 CI Ubnutu: APT - write deb-src separate file
Write deb-src to a separate file in /etc/apt/sources.list.d/. Someone is
rewriting /etc/apt/sources.list. See failed run:

  https://github.com/CESNET/UltraGrid/actions/runs/3286915245
2022-10-20 13:09:22 +02:00
Martin Pulec
0e9592fb6d CI coverity-scan: fixed incorrect workflow update 2022-10-20 08:50:34 +02:00
Martin Pulec
4e8f0da3a6 CI: fixed deprecated syntax
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-10-19 16:07:55 +02:00
Martin Pulec
1e2d089a14 DShow: change log_levels + identify failed device
Now the error message is not spatially coupled with device identifier
(probe prints error but the modes are output after that).
2022-10-19 16:00:35 +02:00
Martin Pulec
c171ef448e DShow: use data from probe for help 2022-10-19 16:00:35 +02:00
Martin Pulec
48537db09f screen_win: run new process after mod reg
+ improved request for install message to be more clear
2022-10-19 16:00:35 +02:00
Martin Pulec
62595dce97 screen_win: do not store lib pointer
Use common unregister in both normal unprivileged unregister and an
elevated one.
2022-10-19 16:00:35 +02:00
Martin Pulec
6ce76d0990 updated screen-capture-recorder-x64.dll to v0.12.12
https://github.com/rdp/screen-capture-recorder-to-video-windows-free/releases
2022-10-19 16:00:35 +02:00
Martin Pulec
2a8cb6b006 DShow: removed rang references 2022-10-19 16:00:34 +02:00
Martin Pulec
4d5747aa76 DShow: use logger 2022-10-19 16:00:34 +02:00
Martin Pulec
069869efcb screen_win: use generic FPS indicator
doesn't have own
2022-10-19 16:00:34 +02:00
Martin Pulec
db75326b32 screen_win: opt to filter unregister 2022-10-19 16:00:34 +02:00
Martin Pulec
f2a4de3dd8 indent_paragraph fix
Fixed not counting the start of the line after the wrap, as it can be
clearly seen on this string:

"X yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy zzzzzzzzzzzzzzz"

where should be every ' ' replaced by '\n' but the second wasn't.
2022-10-19 16:00:34 +02:00
Martin Pulec
055194c6d5 screen_win: request registration of DShow module
Try to install the DShow module with elevated privileges (doesn't work
with normal on most Windows instances, perhaps given by settings).

If the elevated registration succeeds, do not unregister that (otherwise
next time user would need to confirm that again).
2022-10-19 16:00:34 +02:00
Martin Pulec
24647eeffc screen_win: refactor
+ free loaded library in case of error
+ report also different errors than E_ACCESSDENIED (and print that the
  error was access denied if so)
2022-10-19 16:00:34 +02:00
Martin Pulec
507b48c061 screen_win: use system screen-capture-recorder
Use system-registered screen-capture-recorder if available.

THe current way (if screen-capture-recorder is not installed) relies on
pushing a DLL into system but in current W10 (21H2) version, this is
prohibited to a normal user.
2022-10-19 16:00:34 +02:00
Martin Pulec
49e4de595d DShow probe: set card_id early to vidcap_type
To avoid having blank device ID if device name read fails.
2022-10-19 16:00:34 +02:00
Martin Pulec
3bee13fdb5 replaced unqualified move with std::move
to avoid this clang warning: https://reviews.llvm.org/D119670
2022-10-19 16:00:31 +02:00
Martin Piatka
95b9157134 holepunch: simplify config parsing
Now it doesn't modify argv
2022-10-19 14:55:40 +02:00
Martin Piatka
9f3b891309 holepunch: pass addresses as buffers in config 2022-10-19 14:06:26 +02:00
Martin Piatka
d7495d070d holepunch: Add log messages
see GH-260
2022-10-19 12:25:51 +02:00
Martin Piatka
8d6b17522d tools/ipc_frame_unix: Initialize winsock 2022-10-18 14:15:06 +02:00
Martin Piatka
f5c69aa486 GUI: control socket: reset socket before new connection 2022-10-18 13:15:12 +02:00
Martin Piatka
1378bad9ff GUI: Remove now unused random port helper 2022-10-18 13:00:57 +02:00
Martin Piatka
894dbdcc65 GUI: Use "0" for a random port 2022-10-18 13:00:57 +02:00
Martin Piatka
ba7c40a4be GUI: Use controlPort class 2022-10-18 13:00:56 +02:00
Martin Piatka
6dea418cb1 GUI: vuMeter: Use the controlPort class for ug communication
Should make the meter much quikcer to start reporiting volumes after
start
2022-10-18 13:00:56 +02:00
Martin Piatka
f3ce37a188 tools/astat: Standalone parsing func 2022-10-18 12:11:14 +02:00
Martin Piatka
97cba4d2d3 GUI: Control port class 2022-10-18 12:11:13 +02:00
Martin Piatka
3acc296291 control_socket: Print listening port
This is useful when binding to a random port (--control-port 0)
2022-10-18 12:11:10 +02:00