Commit Graph

217 Commits

Author SHA1 Message Date
Martin Pulec
a7ec1a42b7 crash_signal_handler: simplify + URL for REPORTING_BUGS
Abstract string handling + provide URL to online version of
REPORTING_BUGS.md.

+ use the append() also in signal_handler()
2021-02-25 16:37:47 +01:00
Martin Pulec
371146b393 Generate backtrace when crashed in Linux+mac 2021-02-23 15:09:03 +01:00
Martin Pulec
018590b576 Main: typo - fixed REPORTING_BUGS.md name 2021-02-23 15:00:58 +01:00
Martin Pulec
f1d0b1898d Hd-rum-translator: accept --param 2021-02-11 15:45:07 +01:00
Martin Pulec
24ca1513ae NAT: allow method selection 2020-12-01 08:26:39 +01:00
Martin Pulec
f364cc0a8c Added NAT PMP 2020-11-23 09:12:43 +01:00
Martin Pulec
49dd332639 SDP: Set correct IP version
+ some documentation
2020-11-11 15:56:23 +01:00
Martin Pulec
efd2c70235 Platform pipe: use plain pipe if TCP compat fails
Use plain pipe if the TCP compat fails in Linux. This fixes a problem
when there is unavailable loopback connection (eg. running in a separate
network namespace with unassigned loopback address).
2020-11-10 14:04:28 +01:00
Martin Pulec
bd552be430 Allow verbosity increase with -V
+ small updates
2020-11-05 09:30:15 +01:00
Martin Pulec
024494f4b8 Option to disable message repeats suppressing 2020-11-05 09:21:33 +01:00
Martin Pulec
72bc7c45a0 Updated documentation 2020-10-08 11:06:20 +02:00
Martin Pulec
c8535466e5 Use rather sigdescr_np than sigabbrev_np
This is more consistent with former sys_siglist
2020-09-22 08:28:01 +02:00
Martin Piatka
1c7b30d34c main: Fix compilation on glibc >= 2.32 (sys_siglist) 2020-09-21 14:25:47 +02:00
Martin Pulec
745f247dbc Make: distcheck - check module errors
This check for errors caused by wrong module dependencies.
2020-09-16 11:56:51 +02:00
Martin Pulec
15df3f7268 Video display: get_property->ctl_property
Renamed display_get_property to display_ctl_property to indicate that
the function can be used as a setter as well.
2020-08-28 15:10:28 +02:00
Martin Pulec
710b1d7652 Revert to C++14
C++17 causes problems in Ubuntu 16.04 because increased C++ ABI version
(rather problem with GitHub runner compilers that were downloaded from
outside official repos - official clang-8 looked to work well).
2020-08-06 15:52:45 +02:00
Martin Pulec
0c8d0afa00 Main: check port value 2020-08-03 10:06:03 +02:00
Martin Pulec
055483276c --param decoder-use-codec help 2020-06-29 14:15:07 +02:00
Martin Pulec
14b9a7c151 Main: case insensitive proto comparison 2020-06-10 15:56:46 +02:00
Martin Pulec
91a2769f3e Fixed commit 3657dcaa2 2020-06-10 11:52:04 +02:00
Martin Pulec
3657dcaa2c Capture: print dev name in FPS status 2020-06-09 12:25:51 +02:00
Lukas Rucka
020cc636c2 FIX: Include MTU setting in full help 2020-04-28 13:30:08 +02:00
Martin Pulec
3f5e7b0a0a Do not rename main thread
Do not rename main thread since it renames a process as well and then it
doesn't respond to eg. killall as expected.

+ name the display thread (run if display worker doesn't require to be
  run in main thread)
2020-04-21 18:27:57 +02:00
Martin Pulec
31d80b34b9 Video display: run mainloop only if needed
Do not run the display worker in the main thread if not needed.

This would allow to run a custom mainloop (eg. from Syphon) while being able
to run a display that doesn't need to be run in the main thread.
2020-04-14 10:52:54 +02:00
Martin Pulec
f8d756d165 Windows doesn't have SIGALRM 2020-04-07 11:18:28 +02:00
Martin Pulec
9f4032abe3 Main: only notify about potentilan hang
Some modules on some hardware need considerable time to finish
(SVT HEVC ~8s, AV1 >30s) so do not force quit after fixed amount
of time. Instead display only a warning and let use kill UG manually
if needed. Since previous commit, SIGINT causes usual termination.
2020-04-07 10:33:56 +02:00
Martin Pulec
f47dede849 Main: restore signals instead of ignoring 2020-04-07 10:33:56 +02:00
Martin Pulec
86c5b6815c Removed forgotten MAX_AUDIO_CAPTURE_CHANNELS 2020-02-06 20:57:59 +01:00
Martin Pulec
1802760437 Removed no longer used MAX_AUDIO_CAPTURE_CHANNELS 2020-02-06 17:22:00 +01:00
Milos Liska
5faf5b671a --video-protocol help fix
--video-protocol help should actually print a list of available
protocols
2020-02-06 10:57:19 +01:00
Martin Pulec
ac2c262f43 Main: use formatting macros instead of rang directly 2019-11-27 11:57:27 +01:00
Martin Pulec
7ff2360e67 Video capture: print FPS generically
Centralized FPS statistics output instead of in individual vidcap
modules in order to avoid multiplicities in code.

+ removed the FPS statistics code from testcard
2019-11-27 11:40:07 +01:00
Martin Pulec
5741982aba state_uv: do not call destructor directly 2019-11-21 08:48:34 +01:00
Martin Pulec
dcdeb276ab Added 5 second timeout to prevent exit hangs
Prevents potential exit hangs.
2019-11-19 19:45:25 +01:00
Martin Pulec
64a2d4bc02 Main: exit modules before common_cleanup
In MSW, pipe is emulated over network socket (used by state_uv).
Common_cleanup, however, calls WSACleanup().
2019-11-19 19:45:20 +01:00
Martin Pulec
71efe75a3f dlclose opened libs 2019-11-19 08:22:50 +01:00
Martin Pulec
ee4646d7cc Separate function for video protocol listing 2019-11-13 16:19:55 +01:00
Martin Pulec
c0677ab2e7 Fixed Windows crash
+ be more verbose about errors
2019-11-09 13:46:52 +01:00
Martin Pulec
df5c22f430 Make should_exit callbacks signal-handler safe
Do not call non-async-signal-safe functions in signal handler. Instead
create dedicated thread for handling the callbacks that will the signal
handler only notify.
2019-11-06 20:46:58 +01:00
Martin Pulec
75fd88c7c3 Show hidden modules when fullhelp is given
+ updated copyrights in that files
2019-11-06 15:26:17 +01:00
Martin Pulec
ad31564563 Main: avoid accidental crash with invalid uv_state
Avoid a possibility that signal handler is called when either uv_state
is not yet set or already destroyed.
2019-11-06 10:31:22 +01:00
Martin Pulec
447be38b31 Allow registration of should_exit observers
This should be more correct way than using the global should_exit
variable. Moreover, the observers like capturers doesn't need to
pool the should exit variable and can send signal themselves (that
may eg. trigger a CV).
2019-11-04 07:53:08 +01:00
Martin Pulec
670c45ddf9 Added playback covering import and file
+ Moved common playback keys initialization here
2019-11-01 15:17:16 +01:00
Martin Pulec
bec25a6de3 Added audio_frame::dispose 2019-10-23 09:54:57 +02:00
Martin Pulec
ee78756239 Main: missing param in warning 2019-10-17 16:13:08 +02:00
Martin Pulec
1a85b030d5 main: name video capture thread 2019-10-11 10:21:30 +02:00
Martin Pulec
47a8a08a47 Rename JPEG compress to GPUJPEG to users 2019-10-08 17:01:08 +02:00
Martin Pulec
545f2241b8 Audio: fixed inverted -r/-s help meaning 2019-10-08 15:35:15 +02:00
Martin Pulec
9f507bfb3c Configure: rename jpeg to gpujpeg
Using jpeg for gpujpeg doesn't make much sense now so fixed this rather
legacy behavior.
2019-10-08 14:21:28 +02:00
Martin Pulec
9c7b18f117 Traffic shaper: use adapive capped bitrate
Use adaptive capped bitrate if a limit bitrate value is specified.
Previously packets were emitted exactly at the specified bitrate which
is now an optional. Now, by default, the shapper shapes equally to
a frame time or capped bitrate (if the packet rate would be lower).
2019-09-27 12:10:12 +02:00