fat-fred [Thu, 8 Oct 2020 20:27:12 +0000 (22:27 +0200)]
Fix NVENC
- corrected "Rate Control" Settings:
- removed Deprecated Settings
- include new Settings
- corrected "Profile":
- include missing hevc profile "Rext"
- fixed profile selection: before we always had a profile higher as we choose (order is different then in other h264/hevc encoder)
E.Smith [Wed, 10 Jun 2020 21:30:14 +0000 (22:30 +0100)]
Handle bad UTF-8 in xmltv (#5909)
We had a string where we had a rogue byte (0x8a) which was not part of
a UTF-8 string. This then caused some downstream parsers to abort
processing the document; other parsers ignored the bad character.
As an interim fix, we now parse the individual characters and filter
out invalid characters. We replace such characters with a space
character (instead of a U+FFFD replacement character) since this
is typically user presentable data on a "10ft interface". An
alternative would be to completely discard the character, but the
examples we had would then have words combined where the invalid
character used to be.
niemert [Tue, 6 Aug 2019 19:41:19 +0000 (21:41 +0200)]
access: added missing break for connection limit type
Before update aa_conn_limit_streaming was always set to ae_conn_limit, if limit type was set to ALL in gui.
Now aa_conn_limit_dvr and aa_conn_limit_streaming is set correctly
StefanBruens [Tue, 8 Oct 2019 23:52:50 +0000 (01:52 +0200)]
Avoid configure checks being optimized away with LTO
In case the checks are compiled with CFLAGS including "-O1 -flto" (or any
other optimization level), a "test()" function not referenced by by main
will be optimized away and discarded prior to the final linking step, and
there will be no undefined symbols, thus the checks always succeeds.
This at least affects the "strlcpy"/"strlcat" checks, but may affects other
checks as well.
CC src/descrambler/tvhcsa.o
In file included from /home/buildroot/autobuild/instance-0/output/build/tvheadend-8f1de1621d78c91431238176bf4f6290870a031a/src/tvhlog.h:30:0,
from src/descrambler/tvhcsa.h:30,
from src/descrambler/tvhcsa.c:19:
/home/buildroot/autobuild/instance-0/output/build/tvheadend-8f1de1621d78c91431238176bf4f6290870a031a/src/tvh_thread.h:163:25:
error: unknown type name '__do_not_use_pthread_mutex_t'
#define pthread_mutex_t __do_not_use_pthread_mutex_t
E.Smith [Wed, 1 May 2019 17:52:10 +0000 (18:52 +0100)]
xmltv: Avoid outputting lang tags in xmltv for only one language, fixes #5630
For most sources of guide information, we only have one language.
If we output xmltv with language tags just makes the xmltv output
larger with no benefit.
E.Smith [Wed, 1 May 2019 11:55:14 +0000 (12:55 +0100)]
htsp: Allow basic htsp format, fixes #5630
The tvguide can be very large for very low memory devices. So allow
a basic format which excludes the long description fields, thus
reducing memory overhead.
E.Smith [Wed, 1 May 2019 11:37:32 +0000 (12:37 +0100)]
xmltv: Allow sending basic xmltv format, fixes #5630
Some devices have very limited memory and can not handle our full
xmltv output. For example, a current make of TV requires the xmltv
should be less than 5MB and only parses titles, not descriptions.
So we now add an enum to the user access so the user can specify
a different format.
Basic format gives you a limited xmltv document.
Basic (no hash) gives you the limited xmltv document but avoids
using hashes for channel ids and uses the name instead since some
(broken) TVs require this.
bugfix for autorecs duplicate episode number detection in autorecs
"record if different episode number" doesn't work as expected in the master branch:
see https://tvheadend.org/issues/5632
With this modification, the season will be taken into account,
as it was before, in order to determine if two episodes have different episode numbers or not.
Peter Vicman [Tue, 24 Sep 2019 12:13:45 +0000 (14:13 +0200)]
bouquet: fix overflow when building for 32-bit system On 32-bit system hash value from service can be truncated.
For example with #SERVICE 1:0:1:835:3EA:2174:EEEE0000:0:0:0
hash value EEEE0000 become 7FFFFFFF and there is no match in function mpegts_service_find_e2().