The issue was that editing the text triggers the change of the option,
which in turn triggers updateUiState which sets the content of the
LineEdit to the changed option causing the cursor to jump to the end.
As a workaround only set the LineEdit contet when it's not focused.
closes GH-352
It looks like the pre-build library BUILD/Binaries/x64/SpoutLibrary.dll
is no longer compatible with the headers in Git.
Pre-built library version is 2.007.010 while the latest version on GitHub
is Spout 2.007.012. When building Spout from sources, the referenced
issue no longer occurs. Also the libraries are not expected to be included
in the Git in future (leadedge/Spout2#103).
Homebrew builds now dependencies from sources on unsupported macOSes
(which is 11 now), which makes it slow. Relevant snippet from brew output:
```
Warning: You are using macOS 11.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
```
If not, it may later fail (see GH-354) in
display_decklink_reconfigure_audio() depending what the actual value is
and what will be negotiated, it would certainly fail for < 2.
refers to GH-354
It seems that if the query fails, it sets some undefined or invalid
value to the output variable.
\+ print actual used maximal value in verbose mode
\+ print also error message
print the connection directly from the display flag and then we can return
if audio is required to be embedded (no need to set AESEBU/analog switch).
\+ use more defensive msg about audio output (we actually may not set anything)
If cannot switch to AESEBU/analog, warn at least in verbose mode
(shouldn't be an issue in most cases, since this is usually needed only
for more than 2 channels).
This makes the script reentrant, allowing to run it also interactively
repeatedly, provided that the `apple_key_p12_b64` and
`notarytool_credentials` environment variables are correctly set.
This still causes the bundle rebuild. Under normal circumstances it
won't matter but as we sign the directory after creating the bundle
and before creating dmg, it actually hurts, becasue to the DMG goes the
freshly-created (unsigned) bundle.
This reverts commit 7294347a9b.
If the buffer is full, flush the output even if there is no NL at the
end and issue a warning (should be handled - either some error or some
module produces unexpectedly long output).
do not prefix messages not starting on new line by timestamps, eg.:
$ uv -s embedded -t testcard -d file:n=/dev/null -V
[1698853041.393] [lavc] Stream #0:0[1698853041.393] : Video: rawvideo, 1 reference frame (UYVY / 0x59565955), uyvy422, 1920x1080 (0x0), q=2-31, 829440 kb/s[1698853041.393] , [1698853041.393] 25 tbn[1698853041.393]
Flush the output only on NL and before it store it in internal
thread-local buffer.
Locking was removed as static data are now thread-local.
this improves 808b3de3
not necessary, but better; also makes UG behavior deterministic, eg.:
uv -s embedded -t testcard -d file:n=/dev/null [-c libavcodec] -V
produce different output for file depending if libavcodec is on or off
(AV messages prefixed by UG logger).
Some pkgconf distributions (like Arch Linux) make pkg-config symplink,
some (eg. macOS) do not. Even the pkg.m4 macro from pkgconf checks for
binary named pkg-config [1]. So if pkg-config is not found, try to look up
`pkgconf`.
[1]:
<752a9825dc
/pkg.m4#L67>
Set metadata to out_frame only and copy it to tmp_frame (not to repeat
every assignment and potentially forgotting something).
\+ check tmp_frame afor allocation failure
Some encoders use `colorspace` and `color_range` from AVFrame,
eg. _hevc_videotoolbox_:
uv -t testcard -c libavcodec:encoder=hevc_videotoolbox
(defaults to bgra, because other foramts don't keep 4:2:2 subsampling,
supported at the time: videotoolbox_vld nv12 yuv420p bgra p010le).
Fixed error was producing this message:
````
[lavc hevc_videotoolbox @ 0x12fc04190] Could not get pixel format for color format 'bgra' range 'unknown'.
[lavc hevc_videotoolbox @ 0x12fc04190] Error: Cannot convert format 28 color_range 0: -22
```
1. really check non-negativity - until now, the parsed string was
dirrectly assigned to ushort, effectively disabling the check ((short)-1
== 65535)
2. check also upper bound to be less than USHRT_MAX
3. **allow** 0 as a port - supposedly this is a relict when atoi() was
used to parse the port, so that it was supposed to be error in
conversion. There may be, however, legitimate reasons to use 0 as a port
to bind random port (although UG doesn't print it so the user would need
to obtain its value eg. with iproute2 if required). Just print a warn.
Process exceptions as with:
hd-rum-transcode 5004 -P 6004 localhost
where buffer size is omitted - `-P` is parsed as buffer number producing
invalid argument exeption.
Converted the expected invalid_argument exceptions to ug_runtime_error
that is catched in main().
Until now, if called without argument, help was printed but without the
error message. Since arguments are mandatory and to query help, rather
'-h' should be used, rather print error in this case. This also correspons
with the exit with non-zero return code.
Previously it cleared the preferences and exitted if no options followed
but starts grabbing otherwise, which is inconsistent. If user wants just
clearing preferences, Ctrl-c may be pressed immediately to exit.