Commit Graph

4180 Commits

Author SHA1 Message Date
Martin Pulec
bc606ed09e AJA cap.: check return vals of NTV2 funcs 2020-04-28 16:37:08 +02:00
Martin Pulec
de858a7ccb GitHub CI: remove macOS 10.14 SDK
Actually this is not sufficient to make a build compatible with High
Sierra (10.13 - N-1th relase that is supported with 10.14 SDK). Homebrew
perhaps doesn't support using older SDKs so we get incompatible
dependencies from there.
2020-04-28 14:04:56 +02:00
Martin Pulec
b5d39d7ba7 AJA: amend 'failed' to error msg 2020-04-28 14:04:53 +02:00
Lukas Rucka
020cc636c2 FIX: Include MTU setting in full help 2020-04-28 13:30:08 +02:00
Martin Pulec
fe03e7776b Configure: set min macOS version to 10.14 only on Mojave and newer 2020-04-28 10:00:56 +02:00
Martin Pulec
979921e2ec Configure: added CUDA to rpath for Mac
This allows dylibbundler to find the CUDA library.
2020-04-27 20:07:33 +02:00
Martin Pulec
b688d0d41a macOS: init glut only when needed
Call macGlutInit just when GL context is requested. This slightly
improves a commit 887da0882. This causes that when macOS is headless
(eg. no logged user), glutInit (that will unconditionally fail) is
called no only if needed, not always.
2020-04-27 15:25:45 +02:00
Martin Pulec
252b91adbc GitHub CI: Pass dylibbundler - /usr/local/lib
Fixes a problem when dylibbundler cannot find @loader_path/libamd.2.dylib.
2020-04-27 14:28:10 +02:00
Martin Pulec
08acd4164d Makefile: put 'quit' to stdin of dylibbundler
This prevents infinite loop when some library was not found by the
dylibbundler.

+ exit if dylibbunder fails ('set -eu')
2020-04-27 10:33:23 +02:00
Martin Pulec
e759c8a510 AJA cap.: respect channel selection 2020-04-24 08:36:03 +02:00
Martin Pulec
6b12cd9adf AJA cap.: validate channel number 2020-04-23 16:05:38 +02:00
Martin Pulec
ea3a9deba5 Keycontrol: store tio state first
Previously the state was saved too late, eg. when display was libcaca
(over SDL) the saved state has been already modified.
2020-04-23 14:56:21 +02:00
Martin Pulec
779879611f AJA disp.: added no-setup[-route] opts 2020-04-23 11:24:16 +02:00
Martin Pulec
6d5f39708c AJA disp.: use configuration structure
This simplifies code a bit
2020-04-23 11:06:38 +02:00
Martin Pulec
ee60947572 AJA disp.: honor YUV option for HDMI 2020-04-23 10:23:11 +02:00
Martin Pulec
4a76fb0986 AJA disp.: use codec_t for mForceOutputColorSpace
Use codec_t for mForceOutputColorSpace instead of custom enum - this is
actually more readable.
2020-04-23 09:19:53 +02:00
Martin Pulec
d5ae9af195 AJA disp.: fixed when not enough CSCs
The code taken from SDK samples was not correct in UltraGrid - we cannot
declare framebuffer as not RGB provided that it is in a RGB (we do not
convert by ourselves). Thus the output is set to the same codec as the
framebuffer.
2020-04-23 09:14:18 +02:00
Martin Pulec
274fd38b0e Cineform comp.: copy metadata + mark compress_end 2020-04-22 22:32:00 +02:00
Martin Pulec
f1883a0070 Added vf_copy_metadata() 2020-04-22 22:32:00 +02:00
Martin Pulec
180aa49711 vf_merge_tiles: copy compress_start timestamp 2020-04-22 22:32:00 +02:00
Martin Pulec
6650cb7695 GitHub CI: Win - add files to a directory in asset
actions/upload-artifact@v1 zips content of directory which means that we
have all files in a top-level directory, not in a directory.
2020-04-22 22:31:41 +02:00
Martin Pulec
d9c66e1ac2 GitHub CI: run ldconfig for NDI 2020-04-22 16:15:11 +02:00
Martin Pulec
4fc89a8063 Video dec.: print decompress duration 2020-04-22 15:05:58 +02:00
Martin Pulec
aef1ca16cd Moved executive code from asserts
In case someone defined NDEBUG, this particular code wouldn't compile.
2020-04-22 11:56:23 +02:00
Martin Pulec
ccf00cc201 Cmpto J2K: fixed decoding with non-stanadard pitch 2020-04-22 11:07:34 +02:00
Martin Pulec
9d40cc38dc Cmpto J2K dec.: simplified j2k_decompress_reconfigure() 2020-04-22 10:18:28 +02:00
Martin Pulec
4dbc261590 Cmpto J2K dec.: allow custom pitch for UYVY and RGB
Removed assertion to check standard pitch - non-standard ones should be
already supported. This allows decoding to framebuffers, where pitch
is not equal to line width, i. e. also for tiled video assembled to one
buffer.
2020-04-22 10:18:23 +02:00
Martin Pulec
28a64da913 GitHub workflow "archive" removed
It is probably better to run the archiving externally. Moreover, nightly
builds won't be built in behalf of continuous.
2020-04-22 08:34:28 +02:00
Martin Pulec
414caef42f BMD common: use special val for BMD_OPT_KEEP
The unterlying type would be perhaps an int in Win for the enumerations
where this value will be used so using UINT32_MAX isn't appropriate.
2020-04-21 18:27:58 +02:00
Martin Pulec
8f24b666ec SDL1: register 'q' key for exit 2020-04-21 18:27:58 +02:00
Martin Pulec
07309035a5 Control: warn about unknown command 2020-04-21 18:27:57 +02:00
Martin Pulec
581d8a9309 RTSP capture: fixed a warning 2020-04-21 18:27:57 +02:00
Martin Pulec
363729fbcd Keycontrol: fixes
- fixed few warnings (UTF-8 code 0 UB, read fail)
- keycodes can be up to 64-bit (some places used int)
2020-04-21 18:27:57 +02:00
Martin Pulec
3f5e7b0a0a Do not rename main thread
Do not rename main thread since it renames a process as well and then it
doesn't respond to eg. killall as expected.

+ name the display thread (run if display worker doesn't require to be
  run in main thread)
2020-04-21 18:27:57 +02:00
Martin Pulec
b99eca78f7 GitHub CI: avoid packing Win build to 2 zips 2020-04-21 18:27:56 +02:00
Martin Pulec
dfb7fcaca1 AJA disp.: if HDMI is selected, set HDMI output
Use HDMI output - AJA default to DVI if HDMI EDID is not detected.

Forcing is currently commented out.
2020-04-21 18:27:10 +02:00
Martin Pulec
b8303b2f3e DeckLink disp.: use rather BMD_OPT_DEFAULT
BMD_OPT_KEEP is intended rather for explicit keep.
2020-04-21 16:46:17 +02:00
Martin Pulec
a85c406b77 Decklink disp.: do not set conversion implicitly
Even setting to 'none' is reported to fail in some setup.
2020-04-21 10:39:01 +02:00
Martin Pulec
db2150c2e3 Fixed commit f705331
Fixes crashes with multiple tiles.
2020-04-17 10:19:50 +02:00
Martin Pulec
ca27b000cc DeckLink disp.: accept multiple devices with positional parms (fix) 2020-04-17 10:11:07 +02:00
Martin Pulec
0dc517a054 DeckLink cap.: removed forgotten/replaced help line 2020-04-17 10:11:06 +02:00
Martin Pulec
c4f13aa41c Configure: fixed err msg [cmpto_j2k] 2020-04-17 10:11:03 +02:00
Martin Pulec
83da64ffb4 Merge pull request #55 from tmenari/bugfix/fix-decklink-3d-logic
[decklink] fix 3D warning logic
2020-04-17 08:38:43 +02:00
Thomas Menari
92539b8a60 [decklink] fix 3D warning logic
This is a re-implementation of commit 57f215b554 to support the case that you
have a single device but multiple tiles, using 3D mode, as well as the case
where you have multiple non-3D devices and multiple tiles.
2020-04-16 11:18:06 -07:00
Martin Pulec
81f1f0a090 Bump to new GPUJPEG 2020-04-16 09:35:41 +02:00
Martin Pulec
dd66af5b90 macOS: added camera/microphone entitlements
This should fix crashes of AV Foundation when invoked from GUI (and
CoreAudio capturing silence).

Closes #53.
2020-04-15 14:36:43 +02:00
Martin Pulec
1d17e9e028 GitHub Workflows: simplify signing [macOS] 2020-04-15 14:36:40 +02:00
Martin Pulec
887da08822 common_preinit: call glutInit in macOS
Call glutInit for macOS. This is rather a workaround to fix a problem
when running 'uv --capabilities' with RTDXT and Syphon. Initialization
of GLUT in Syphon then fails because glutInit is skipped since NSApp is
a non-NULL (from initialization of GL context). Further GLUT call then
fail.
2020-04-14 19:38:15 +02:00
Martin Pulec
184c5acf91 Syphon: fixed probing
Syphon server discovery must be run from main event loop.
2020-04-14 17:51:53 +02:00
Martin Pulec
c60ed8a234 Syphon: show help immediately 2020-04-14 17:51:42 +02:00