Martin Pulec
8e0f22dada
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 15:29:56 +02:00
Martin Pulec
1b00ea4566
VRG: display reasonable error if trying send+recv
2021-04-29 13:24:43 +02:00
Martin Pulec
44cc105746
GPUJPEG enc.: added option check
...
to silently check availability of CUDA-capable device
2021-04-29 12:26:20 +02:00
Martin Pulec
ec18013b6d
Readded video_codec.c changes removed by a merge
2021-04-29 10:33:25 +02:00
Martin Pulec
369efe7677
GPUJPEG enc.: return failure if no device is found for list_devices
2021-04-29 10:23:19 +02:00
Martin Pulec
fcbbae0420
GPUJPEG: accept pitches
2021-04-29 09:30:36 +02:00
Martin Pulec
842aea8887
GPUJPEG: refactor a bit
2021-04-29 09:01:26 +02:00
Martin Pulec
194dafbcba
Video decompress: added pitches parameter [VRG]
2021-04-29 08:24:11 +02:00
Martin Pulec
1e87326176
Reallow run without parameters [VRG]
2021-04-23 15:51:35 +02:00
Martin Pulec
fa9c76cc2a
VRG: accept RenderPacket by ug_send_frame
2021-04-23 14:08:48 +02:00
Martin Pulec
448894f5db
VRG: allocate larger buffer
...
To accomodate pitched frame
2021-04-23 13:19:53 +02:00
Martin Pulec
9ae7272752
Decoder: reflect VRG pitches
2021-04-23 13:19:52 +02:00
Martin Pulec
efc5cb2997
RTP decoder: ensure buffer will not written past the end
...
May be possible when there are metadata past frame (VRG).
2021-04-23 13:19:52 +02:00
Martin Pulec
7a213dafff
RTP print incorrect values
2021-04-23 13:19:52 +02:00
Martin Pulec
b0cdb4140e
VRG: debug dump RenderPacket
2021-04-23 13:19:42 +02:00
Martin Pulec
87c6fbcaa0
Merge branch 'master' into vr-devel
2021-04-23 09:31:36 +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
9fc0e0fc66
Updated vrgstream-fallback.h
2021-04-19 15:32:44 +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 Pulec
156056e9df
Libug: Windows cross-compliatin fix in Linux
2021-04-08 11:16:06 +02:00
Martin Pulec
e0c8264a7d
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 11:16:06 +02:00
Martin Pulec
303b0390c7
VRG: fixed compilation without CUDA
2021-04-08 11:16:06 +02:00
Martin Pulec
2ae2d05af7
Param to allow multi-threaded RTP on Windows
2021-04-08 11:16:01 +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