Martin Pulec
cd7921844d
Pbuf: statistics fix
2021-05-13 08:23:10 +02:00
Martin Pulec
fbfd1e3bcd
video_codec.c: fixed use of MS version of qsort_s()
...
Microsoft version has a different signature for comparator - context
is first parameter in contrary to C11 where it is the last.
2021-05-13 08:23:09 +02:00
Martin Pulec
4d259fa15d
NAT: increase preallocation time to 30 s
...
If the realloc fails, next attempt is in 5 seconds which is the same
as the preallocation time which may cause an interrupt.
2021-05-08 16:07:03 +02:00
Martin Pulec
fda837048d
Audio testcard: accept "volume=" option
...
This option was announced in help, but actually "vol=" was accepted. For
backward compatibility keep both.
2021-05-08 16:07:03 +02:00
Martin Pulec
f6d03aafc9
net_udp: udp_reader - fixed a leak if error
2021-05-08 16:07:03 +02:00
Martin Pulec
e06823c2a5
Do not define MSVCRT version in config_win32.h
...
It caused MinGW to define wrong function for setjmp.
2021-05-06 14:22:05 +02:00
Martin Pulec
b545298744
GL: use setjmp from csetjmp
...
_setjmpex expanded in setjmpex.h is undefined with UCRT
2021-05-06 14:21:56 +02:00
Martin Pulec
af05b44fcf
Separated pattern generator from testcard
...
Note: currently depends on testcard_common so it was moved as a core
object.
2021-05-05 09:00:58 +02:00
Martin Pulec
8162fff79e
Video compress: ensure that poisoned pill was passed
...
Caller was obliged to pass it but pass it anyway if it wasn't (eg. when
the compression used anywhere else).
2021-04-29 16:59:06 +02:00
Martin Pulec
1685e427e4
GPUJPEG enc.: added option check
...
to silently check availability of CUDA-capable device
2021-04-29 16:58:56 +02:00
Martin Pulec
e8c2ab1198
GPUJPEG enc.: return failure if no device is found for list_devices
2021-04-29 12:07:18 +02:00
Martin Pulec
d885c414da
Spout: fixed deleting (void *) instead of (SpoutSender *)
2021-04-26 15:39:17 +02:00
Martin Pulec
b58173cf16
Portaudio probe: enumerate devices
2021-04-26 09:58:11 +02:00
Martin Pulec
2619da10cc
Portaudio: do not print unusable devices if not verbose
...
Do not print devices without input/output channels for capture/playback.
Can be overriden by using verbose mode.
2021-04-23 16:56:51 +02:00
Martin Pulec
d43937962c
RTP print incorrect values
2021-04-23 13:21:14 +02:00
Martin Pulec
73a27b6f67
V4L2: print open error if device exists but cannot be opened
2021-04-21 15:28:38 +02:00
Martin Pulec
eeb96bbeb3
V4L2: print captured format
2021-04-21 14:42:06 +02:00
Martin Pulec
12b741b569
V4L2: replace non-thread safe strerror with new log_perror
...
+ use log_perror also instead or plain perror
2021-04-21 14:42:06 +02:00
Martin Pulec
dd49b48b69
Added log_perror
...
Same as perror but uses the logger
2021-04-21 14:42:02 +02:00
Martin Pulec
3a19919dab
V4L2: convert dst format fixes
...
Do not copy bytesperline and colorspace from src.
2021-04-21 10:08:13 +02:00
Martin Pulec
cbf0bb440b
V4L2: print capabilities in verbose mode for help
2021-04-21 09:10:33 +02:00
Martin Pulec
3858137247
V4L2: use logger (+ print strerror for ioctls)
2021-04-20 16:46:43 +02:00
Martin Pulec
8eee967992
V4L2: print available codecs in help
2021-04-20 16:46:43 +02:00
Martin Pulec
9740632d51
V4L2: added option "convert"
2021-04-20 16:46:43 +02:00
Martin Pulec
5ea80cfb90
V4L: print conversion error meessage
2021-04-20 16:46:43 +02:00
Martin Pulec
dbc071fe81
Logger: fixed a leak
2021-04-19 16:59:25 +02:00
Martin Pulec
009d85d512
NDI cap.: print NDI version in GitHub build
2021-04-19 09:34:16 +02:00
Martin Pulec
15b119801c
NDI cap.: identify to log as [NDI cap.]
2021-04-16 16:37:46 +02:00
Martin Pulec
4a9261d186
NDI cap.: missing vf_free causing leaking every frame
2021-04-16 15:45:09 +02:00
Martin Pulec
120a7b4ff6
Changed some messages verbosity
...
- signal handler - verbose
- frame incomplete - debug (usually quite chatty)
2021-04-14 13:55:57 +02:00
Martin Pulec
19b83ba78e
RTP_PACKET_HEADER_TYPE: minor clarification
...
Use actual member size to make clear which size it is.
+ include stdint.h (and include C++ version in for C++)
2021-04-14 13:53:20 +02:00
Martin Pulec
e937bf0677
Hd-rum-translator: fixed incorrectly used OVERLAPPED::Pointer
...
For asynchronous IO, if lpCompletionRoutine != NULL,
WSAOVERLAPPED::hEvent may pass user data, not OVERLAPPED::Pointer.
2021-04-14 09:16:27 +02:00
Martin Pulec
255e9da7e7
Reflector: return 1 on error
...
The return value may be used by distcheck.
2021-04-12 15:53:13 +02:00
Martin Pulec
51423524ef
Audio testcard probe: currently default is actually 1 kHz
2021-04-12 12:00:28 +02:00
Martin Pulec
6cd15fdf7a
Audio devices: fixed unintialized members of struct device_info
2021-04-12 12:00:25 +02:00
Martin Pulec
1b2c08ade8
config_win32.h: define version macros first
...
In Linux, MinGW headers define that if undefined to 0x502, which is
incompatible with version required by rang.hpp (0x0600).
2021-04-08 14:12:58 +02:00
Martin Pulec
75bd2ad232
Set OPUS as a codec when audio protocol is RTSP/SDP
...
Do not depend on video protocol which may be different.
2021-04-08 13:57:41 +02:00
Martin Piatka
9d440a15e3
audio_utils: float2int: clamp input to valid range
...
This avoids pops and buzzing caused by integer overflow when the input
sample falls outside of the range [-1.0, 1.0] (I encountered this when
using jack capture).
2021-04-06 16:43:28 +02:00
Martin Pulec
f4e509caa9
Do not crash on >1 channels with RFC OPUS
...
Print an error message instead.
2021-04-01 10:30:55 +02:00
Martin Pulec
0828112469
ALSA play.: fixed when max_channels < desc.ch_count
...
also simplified the loop by splitting to 2
2021-03-31 13:33:54 +02:00
Martin Pulec
d36545e656
FFmpeg NVENC: make intra-refresh optional (but default)
2021-03-30 15:11:50 +02:00
Martin Pulec
fccadd4d06
Lavc: set force IDR for NVENC
2021-03-30 15:11:39 +02:00
Martin Pulec
5cefcf803a
Do not restore crash signals with SIG_DFL
...
The backtrace may still be useful and the crash_signal_handler() triggers
the default handler anyway.
2021-03-30 12:10:41 +02:00
Martin Pulec
59f276cc96
Handle some more signals with crash_signal_handler()
2021-03-30 12:08:56 +02:00
Martin Pulec
03a822cfd6
If audio index is not set, enable audio for all devices
...
This allows in theory capturing multiple sources with eg. switcher
(provided that the sources are compatible, eg. all using "embedded").
2021-03-30 09:28:53 +02:00
Martin Pulec
e488e3c00f
Set default TTL to -1
...
This will return unicast TTL to default values as has recently been.
Multicast TTL may need to be adjusted by user, but there is a warning if
not and this is quite convenient behavior.
2021-03-30 08:41:17 +02:00
Martin Pulec
43d1568091
Warn when not setting multicast TTL.
2021-03-30 08:41:09 +02:00
Martin Pulec
a2f5dfe840
Hd-rum-transcode: show help also with -h
...
previously only --help was accepted
2021-03-29 16:13:17 +02:00
Martin Pulec
644fa9b48a
Added -T/--ttl parameter
2021-03-29 16:13:17 +02:00
Martin Pulec
51cbc944bd
Obtain TTL value also in audio
2021-03-29 16:13:16 +02:00