Commit Graph

6419 Commits

Author SHA1 Message Date
Martin Pulec
ecba764e57 moved libavcodec_common to libavcodec/lavc_common 2022-08-18 11:20:38 +02:00
Martin Pulec
1b4d3209b8 to_lavc_vid_conv: make src const 2022-08-18 10:49:47 +02:00
Martin Pulec
af46932c13 GPUJPEG fixed missing parenthesis 2022-08-18 09:10:48 +02:00
Martin Pulec
bd526add15 configure: add CUDA_FLAGS to documentation 2022-08-17 17:27:44 +02:00
Martin Pulec
ee4386b257 GPUJPEG: use API to set default restart interval
the library knows better
2022-08-17 17:27:44 +02:00
Martin Pulec
a6f95e3d63 DeckLink disp.: replace few error fprintfs 2022-08-17 17:27:44 +02:00
Martin Pulec
5aca271708 DeckLink disp.: audio connection name to separate func 2022-08-17 17:27:43 +02:00
Martin Pulec
a7c7571c4e DeckLink cap.: replace fprintf with logger 2022-08-17 17:27:43 +02:00
Martin Pulec
144997a2d8 DeckLink: display warning that R10k is now limited 2022-08-17 17:27:43 +02:00
Martin Pulec
9f2d8b5029 tools: merged Makefiles
+ fixed compilation of convert (dependency on color_out)
2022-08-17 17:27:43 +02:00
Martin Pulec
faa1afb720 added some missing includes
Added includes that are missing if config.h was not included.
2022-08-17 17:27:43 +02:00
Martin Pulec
b857a0573e tools/README: fixed typos 2022-08-17 17:27:43 +02:00
Martin Pulec
263d5eac4b simplified video postprocessors
reflects change in previous commit
2022-08-17 17:24:35 +02:00
Martin Pulec
2ae7826393 vo_postprocess: pass empty string if no config
This is consistent with most other modules. As a consequence, the
modules are not obliged to check for NULL.
2022-08-17 17:24:35 +02:00
Martin Pulec
a7d0e44750 video_display: use logger for FPS indicator
Origianlly it was not possible to use colors with logger C API but this
has changed so this reflects recent changes.
2022-08-17 17:24:35 +02:00
Martin Pulec
a9bc710a73 respect ULTRAGRID_VEBOSE environment variable
Previously it was errorneously checked while setting log level from the
command-line opt. If no was given, the particular function was not run.
2022-08-17 17:24:35 +02:00
Martin Pulec
e15e0f9cb9 color_out: removed isMsysPty from API
no longer used outside color_out.cpp
2022-08-17 17:24:35 +02:00
Martin Pulec
65557d112d get rid of rang.hpp dependency through color_out.h
Removed indirect dependency on rang.hpp through color_out.h. Now only
remaining dependencies on rang.hpp are direct.

+ fixed escape sequence for foreground magenta
2022-08-17 17:24:34 +02:00
Martin Pulec
0b8cc39f9c removed perf tool
It was almost never used since added.
2022-08-17 17:24:34 +02:00
Martin Pulec
a978ddc0ff moved pbuf from C to C++
Now we are not dependant on any of C++-only features
(high_resolution_clock, rang).
2022-08-17 17:24:31 +02:00
Martin Piatka
072b96d602 GUI: vuMeter: Use delete functor for connection 2022-08-17 16:13:41 +02:00
Martin Piatka
571dace83b GUI: vuMeter: Improve reconnection logic 2022-08-17 16:13:40 +02:00
Martin Piatka
b33b64c923 GUI: vuMeter: Remove unused variable and includes 2022-08-17 16:10:50 +02:00
Martin Piatka
6dcde8167f swmix: Fix potential overflow when cfg parsing 2022-08-17 16:10:50 +02:00
Martin Piatka
e8425cd233 rtsp: Fix potential overflow when cfg parsing
The scanf format specifier doesn't count the terminating '\0' so the buf
needs to be bigger
2022-08-17 16:10:49 +02:00
Martin Piatka
2e96274af7 GUI: Don't exit() on close event
Allows all destructors to run on exit. This was probably used to work
around a deadlock, but is perhaps not necessary anymore. There may still
be however a delay of a few seconds because of the vuMeters
connection loop.
2022-08-17 16:10:49 +02:00
Martin Piatka
bbd91f7720 ipc_frame_unix: Delete socket files in destructor 2022-08-17 16:10:49 +02:00
Martin Piatka
68cf3f697b video_capture: Remove duplicit vidcap_params definition
The struct vidcap_params is already defined in video_capture_params.cpp
2022-08-17 16:10:48 +02:00
Martin Piatka
8f297e6bc2 screen_win: Fix crash on startup
The crash was caused by null parent module in the vidcap_params created
by vidcap_screen_win_init().
2022-08-17 16:10:48 +02:00
Martin Piatka
dd9a53cfd7 ipc_frame_unix: Fix on windows
04c2d245 changed the datatype to the SOCKET type used by the winsock
library. This type is however unsigned, which broke conditions that
assumed invalid socket to be < 0.
2022-08-16 15:13:39 +02:00
Martin Piatka
f6100f1f66 GUI: workaround qmake not knowing about c++17 2022-08-16 10:32:55 +02:00
Martin Piatka
66a7a3058a GUI: settings: replace QRandomGenerator by std random 2022-08-16 10:32:55 +02:00
Martin Piatka
95d064d41a GUI: Use random key for preview sockets 2022-08-16 10:32:55 +02:00
Martin Piatka
80a2540c8b GUI: previewWidget: take key as string_view 2022-08-16 10:31:50 +02:00
Martin Piatka
7509ec4c9a GUI: settings: generate a random string as preview key 2022-08-16 10:31:50 +02:00
Martin Piatka
9f21eba57d GUI: Bump C++ version to c++17 2022-08-16 10:00:00 +02:00
Martin Piatka
291483c156 preview: "key" parameter to support multiple instances
... without specifying full path
2022-08-16 09:59:59 +02:00
Martin Piatka
27af581e1d capture preview: Fix hang on exit if socket doesn't exist 2022-08-16 09:56:33 +02:00
Martin Piatka
00390f8a7c unix_sock: Allow escaping of ':' in config 2022-08-16 09:56:33 +02:00
Martin Piatka
3257e5a036 capture preview: Allow escaping of ':' in config 2022-08-16 09:56:32 +02:00
Martin Piatka
c63412767b misc: tokenize(): Support for delimiter escaping 2022-08-16 09:56:32 +02:00
Martin Pulec
1615a0402c testcard: no err to -t testcard:pattern=gradient2:help 2022-08-15 16:25:30 +02:00
Martin Pulec
cb3618af85 video pattern generator: list only >8-bit pixfmts
List only higher bit-dept pixel formats instead of full to which also
8-bit codecs counted.
2022-08-15 16:23:11 +02:00
Martin Pulec
fc6087180a image generator gradient: generate full depth as well 2022-08-15 16:06:23 +02:00
Martin Pulec
984bd9dfd6 image generator: help - note that gradient2 also has options 2022-08-15 15:21:40 +02:00
Martin Pulec
21129d7fcb image generators: unified initialization
- either nothing or string passed to constructor
- disallowed omitting "blank" when color with "blank=<color>" given
2022-08-15 15:12:54 +02:00
Martin Pulec
edad146aeb added testcard pattern uv_plane 2022-08-15 15:11:57 +02:00
Martin Pulec
6e3133a6e6 image generator: help updated
highlight pattern names + use new color API
2022-08-15 15:10:40 +02:00
Martin Pulec
9f926828af added vc_copylineY416toRG48 2022-08-15 13:19:47 +02:00
Martin Pulec
9195808232 video_codec.c: avoid multiple evaluation in macro
Avoid multiple evaluation of expressions in macro expansions.
2022-08-15 11:11:48 +02:00