Commit Graph

2773 Commits

Author SHA1 Message Date
Martin Pulec
d09185ecbf Lib_common: fixed invalid pointer v1.4 2018-09-30 00:51:39 +02:00
Martin Pulec
67951812a0 JACK: fixed query 2018-07-23 16:46:25 +02:00
Martin Pulec
ac9f2d7dea V4L2: fixed freeze when conversion is needed 2018-07-11 11:27:37 +02:00
Martin Pulec
3e4aab1bd8 Video decoders: fixed FEC with invalid key
Fixed when there is a FEC and encryption with an invalid key given which
caused segfaults. This is because no valid packet was decoded, therfore
buffer was not allocated. Solved by setting data_len to non-zero after
we got a valid packet.
2018-07-11 11:27:22 +02:00
Martin Pulec
291e5ec989 RTP UDP: do not pass addr len to recvfrom()
Calling recvfrom() with src_addr == NULL and addrlen != NULL is
invalid (at least in MSW).
2018-06-13 13:45:32 +02:00
Martin Pulec
f0c602d19d RTP UDP: do not use separate thread on MSW
Do not use separate receiving thread on MSW because it causes freezes
when the thread is waiting on read() and different thread wants to
set/get different properties of the socket - eg. setsockopt(SO_RCVBUF)
or getsockname().
2018-06-13 13:45:20 +02:00
Martin Pulec
3235122a7c RTP UDP Win: overlapped sockets only for remote
Use overlapped sockets only if not transmitting over localhost. The
reason is that sending through localhost to a socket where noone is
listening (default behaviour is to use dynamic local port when acting as
a sender) caused strange memory leaks. Disabling WSA_FLAG_OVERLAPPED
flag of WSASocket seem to solve it. Simply not using overlapped
transfers while having socket opened with that flag didn't solve the
problem, either.
2018-06-13 13:44:42 +02:00
Martin Pulec
33a1bea17d Added build date to version 2018-06-13 13:38:56 +02:00
Martin Pulec
8056f391da Net: fixed a leak
Fixed leaks when running something like 'uv -t testcard -P 5004:5004'.
This was caused because receiving took place with default callback
putting received data to participant buffer. However, since UG was
not receiving, it was not periodically cleaning old data from PBUF
letting it increase indefinitely.
2018-06-13 13:33:40 +02:00
Martin Pulec
9e62f82699 DShow: small compile fix 2018-06-13 11:01:46 +02:00
Martin Pulec
021b678463 Small fixes 2018-01-05 10:41:37 +01:00
Martin Pulec
a7a525829a Another libavcodec 58 compat 2018-01-04 10:17:08 +01:00
Martin Pulec
ee6783f7d0 DShow: small compile fix 2018-01-04 10:17:03 +01:00
Martin Pulec
2c97ecdf4e Libavcodec 58 compat 2018-01-04 10:16:59 +01:00
Lukas Rucka
0a4afcd289 Packaging: fix stray fortran dependency for 1.4 2017-12-16 10:42:51 +01:00
Lukas Rucka
78ccb7ce18 Packaging: ugpd-1.4 Backport patches for Leap 42.3 2017-12-15 20:54:34 +01:00
Lukas Rucka
6cf6e63cf2 Packaging: Update build policy for various distributions 2017-12-15 17:22:58 +01:00
Lukas Rucka
77f2157760 Packaging: switch to new dependency system (3/3) 2017-12-15 17:22:15 +01:00
Lukas Rucka
e9a45fce69 Packaging split ugpd for 1.4 into separated package (2/3) 2017-12-15 17:22:11 +01:00
Lukas Rucka
e8fde502d8 Packaging: froze & forked of proprietary drivers for ultragrid 1.4 (1/3) 2017-12-15 17:21:44 +01:00
Lukas Rucka
aa45fb561f Added script to generate older versions of proprietary drivers 2017-12-15 17:21:16 +01:00
Lukas Rucka
d48f0412aa Packaging: add support script for backporting kernel patches 2017-12-15 17:21:07 +01:00
Lukas Rucka
200b988e47 Fix permissions for autobuild script 2017-12-15 17:20:53 +01:00
Lukas Rucka
95db49f9a1 Drop cuda compute capability 2.0 support 2017-12-15 17:20:43 +01:00
Martin Pulec
e6f7f25a8c Portaudio cap.: increased buffer size
On some Linux distros, original value (2048 frames) was not sufficient
thus increasing to 100 ms.
2017-11-07 17:15:56 +01:00
Martin Pulec
ba49d55ae5 Main: fixed parsing of --audio-capture-format
sample_rate was incorrectly parsed.
2017-10-17 11:22:06 +02:00
Martin Pulec
5cda8ac00f DeckLink disp.: fixed single-/dual-/quad-link
The previously used FourCC had wrong endianity, used enum member
instead. Also removed related old compatibility code.
2017-10-11 14:05:55 +02:00
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
Lukas Rucka
6994c7343b Packaging: add manual runtime dependency on libx11-dev for Debian builds 2017-06-02 15:37:25 +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 Pulec
8e4563f01c License: clarified configure flags
Instead of --enable-bsd there is now --enable-bsd-build and
--enable-gpl-build build to indicate that the license relates
to UltraGrid build (not components that are linked).

That means that in BSD build only BSD-compatible components can be used
whether in GPL build also GPL libraries can be linked.

+ updated package specs to reflect this change
2017-05-19 15:46:37 +02:00
Lukas Rucka
d537346d59 Packaing: switch to GPL build (explicitly) 2017-05-18 16:45:36 +02:00
Martin Piatka
d07c47d101 Fixed ldgm-device param 2017-05-11 17:04:06 +02:00
Lukas Rucka
5896f2ec8a Packaging: fix bad debian package name in control file 2017-05-11 13:45:26 +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