Martin Pulec
fd39c57f70
SDL: audio small fixes (crash with -r analog)
2017-10-11 14:05:51 +02:00
Martin Pulec
14783955b2
Audio: compute RMS - fixed
...
Fixed incorrectly computed normalized value of sample (depending on char
signedness).
2017-10-11 14:05:41 +02:00
Martin Pulec
d7858e91b3
Libavcodec: fixed pkt->size == 0 (crash in export)
...
This fixes a crash in video_export.c on assertion data_len != 0.
2017-10-11 14:05:33 +02:00
Martin Pulec
711a30a64f
ALSA play.: fixed previous commit
...
For silence, 100 ms frame size was incorrectly computed.
2017-09-11 11:27:22 +02:00
Martin Pulec
1920fcbc68
ALSA play.: fixed odd number of channels/Bps
...
Fixed problem when frame size (ch_count*bps) is not power of two. We
had read fixed-size chunks (256 bytes) from buffer and if size of frame
was not power of two we read incomplete frame (while the rest remained
in the buffer).
2017-09-09 21:15:53 +02:00
Martin Pulec
4e07037b01
Fixed crash when using FEC
2017-08-09 16:07:24 +02:00
Martin Pulec
95cd5731d2
ALSA play.: fixes
...
* fixed wrong latency in non/low-latency-mode (was reversed)
* bad unit (ns instead of us)
2017-06-13 17:28:39 +02:00
Lukas Rucka
7ada8d83eb
Fix PATH detection (local file with same name as binary no longer considered binary)
2017-06-09 16:59:39 +02:00
Martin Pulec
63ea6d8bc6
Messaging: fixed a leak
2017-06-07 15:40:23 +02:00
Martin Pulec
4d67849e26
Host: dlopen libX11.so.6 instead of libX11.so
...
Symlink libX11.so does not need to be present in system. However,
libX11.so.6 is very common (currently only?) SONAME.
2017-06-05 10:59:57 +02:00
Martin Pulec
47ce5f1ade
ALSA: missing param
2017-06-05 10:59:53 +02:00
Martin Pulec
a0ce066748
UYVY: fixed a macro
...
Mesa GLSL compilation failed when shader contained macro starting with
GL_ (supposedly reserved for OpenGL).
2017-06-05 10:59:48 +02:00
Martin Pulec
5c0622ef88
Libs: hot fix
2017-06-02 15:33:33 +02:00
Martin Pulec
8f974ade23
Libavcodec: hot-fixed initialization of params
...
Parameters were initialized after being used.
2017-05-22 17:12:45 +02:00
Lukas Rucka
5c68e3c867
Bugfix: detect ultragrid running from PATH even if called through absolute path
2017-05-20 20:01:57 +02:00
Martin Pulec
1424f542a5
RTSP: compatible with current UltraGrid
...
+ note about older version which is needed for live555
2017-05-19 15:56:06 +02:00
Martin Pulec
40106d84f5
Fixed GIT revision
...
Now print current commit hash in version string.
+ print configuration in -v option
2017-05-19 15:47:56 +02:00
Martin Piatka
d07c47d101
Fixed ldgm-device param
2017-05-11 17:04:06 +02:00
Martin Pulec
cff50605bb
Import: fixed improper closing files
...
Fixed closing files by CLOSESOCKET which caused problems on MSW.
2017-05-11 13:04:05 +02:00
Martin Pulec
16f3609b45
Import: fixed wrong fopen mode for audio
2017-05-11 13:03:56 +02:00
Martin Pulec
a541bb7b30
Hot-fixed when no cmdline argument given
2017-04-27 15:02:22 +02:00
Martin Pulec
074d29c803
Deltacast: fixed wrong printf specifiers
2017-04-07 10:00:55 +02:00
Martin Pulec
d55cc45a54
Encryption: better handling of modes
...
* check if the received cipher mode is known (forward compatibility)
2017-04-07 10:00:55 +02:00
Lukas Rucka
9320de9b5d
Bugfix: patch handling of substring linux as part of PATH_PREFIX and LIB_DIR (conflict with predefined macro)
2017-04-06 19:05:48 +02:00
Martin Pulec
eabc29d956
Encryption: use CFB instead of CTR
...
* implemented CFB + switched to it because Debian currently does not
include CTR mode
* use CFB by default (decoder should still be able to decompress CTR if
support is compiled in)
2017-04-05 22:24:56 +02:00
Lukas Rucka
98943bf56d
Compilation compatibility fix - use std::isnan instead of isnan (broken gcc c++11 support)
2017-04-05 22:24:56 +02:00
Martin Pulec
bba5867e41
common_preinit: use verbosity level from cmdline
2017-04-03 11:30:39 +02:00
Martin Pulec
6a1ee06b48
Fixed another Coverity bugs
2017-03-22 13:44:17 +01:00
Martin Pulec
8b4679710d
Import: correctly close socket on error
...
+ use CLOSESOCKET macro instead of close
+ moved CLOSESOCKET macro to config_unix.h and config_win32.h
2017-03-17 15:39:04 +01:00
Martin Pulec
4cd91b5387
Control socket: better error check
2017-03-17 12:21:55 +01:00
Martin Pulec
00ab02fb58
Hd-rum-translator: not start control by default
2017-03-17 12:21:50 +01:00
Martin Pulec
ce48814a84
OpenGL: UYVY to RGBA - set alpha channel
2017-03-15 19:20:04 +01:00
Martin Pulec
4309421c52
Audio testcard: generate 1k instead EBU by default
...
* generate uninterrupted 1k sine instead of EBU pattern by default. EBU
is left as an option
* reindent/reformat code a bit
2017-03-15 17:26:09 +01:00
Martin Pulec
2894c313a2
Better input value check for bitrates and MTU
...
* better check values' boundries
* for MTU and traffic shapper also check if there are reasonable values
(eg. for the cases when they are interchanged by mistake)
2017-03-15 16:45:47 +01:00
Martin Pulec
a5d05d5a6c
Fixed Jumbo sending
...
Do not errorneously use Jumbo frames - there was check if receiver is a
loopback address before assigning it (using default value ::1).
2017-03-13 18:11:27 +01:00
Martin Pulec
dbc57f4f79
Video decoders: stats - use wider types
...
Use wider types - for FPS 0.1, 4-byte int overflows in nanosecond
duration.
2017-03-13 13:05:50 +01:00
Martin Pulec
f47597dd89
Fixed bugs reported by Coverity
2017-03-03 18:07:18 +01:00
Martin Pulec
178e3c346c
DVS: Fixed an error
...
Cannot test by now but it seemed that there has been a wrong condition
whether autodetect format or not.
2017-03-03 18:06:31 +01:00
Martin Pulec
6526d7c2ac
Blank cap. filt.: hot-fixed wrong behavior for BGR
2017-03-03 18:06:15 +01:00
Martin Pulec
8a537bedde
Libavcodec: changed one warning
2017-02-24 14:37:53 +01:00
Martin Pulec
0b5b70cf3d
Libavcodec: allow multiple decoders to be specified
2017-02-24 11:59:52 +01:00
Martin Pulec
00bb10104d
Do not use colon as a delimiter for --param
2017-02-24 11:57:22 +01:00
Martin Pulec
feae858c65
Validate optional commandline parameters
2017-02-23 16:30:43 +01:00
Martin Pulec
77a7501d00
ALSA playback: renamed buffer length option
...
+ TODO whether not to use snd_pcm_hw_params_set_buffer_time_first()
instead of explicitly specifying range
2017-02-23 11:03:53 +01:00
Martin Pulec
ded740065c
Added --param low-latency-audio
...
Currently modifies these values these values:
* audio pbuf delay - 32 ms -> 5 ms
* ALSA playback - minimal value
* ALSA audio buffer (internal in UG module) - 20 ms -> 5 ms
* audio mixer, internal audio buffer - 50 ms -> 5 ms
2017-02-22 16:16:07 +01:00
Martin Pulec
8676bed5f5
Keyboard control: print a warning in color
2017-02-22 15:20:45 +01:00
Martin Pulec
1c18c5cdd2
Updated usage a bit
2017-02-21 16:29:46 +01:00
Martin Pulec
0787a637d0
Lavd: added conversions to v210
2017-02-20 11:27:30 +01:00
Martin Pulec
18154d3413
Moved some commandline parameters to --params
...
"ldgm-device" and "disable-keyboard-control" commandline parameters were
moved to --params. "window-title" can be as both, however as a
commandline argument it will be removed in future.
2017-02-20 11:27:30 +01:00
Martin Pulec
1c02c5e8b0
New way of documenting additional params (--param)
...
All parameters can now be listed with '--params help'.
2017-02-20 11:27:30 +01:00