[mythtv-commits] [MythTV/mythtv] 3cf007: The Sat>IP tuner requires keepalive messages, typi...
noreply at github.com
Sat Feb 13 16:45:12 UTC 2021
Author: Klaas de Waal <kdewaal at mythtv.org>
Date: 2021-02-13 (Sat, 13 Feb 2021)
The Sat>IP tuner requires keepalive messages, typically every 30 or 60 seconds,
to keep working. These messages are implemented using Qt connect functions.
The function involved, startKeepAlive, has one parameter with the timeout value
in milliseconds. The type of this parameter has been changed from int to
std::chrono::milliseconds in commit 7949b0d20b5dc1b63c88ef511ccbef18c71ec8bf.
The connect call now fails because std::chrono::milliseconds has not
been registered with qRegisterMetaType. This causes recordings to fail
after 30 to 60 seconds.
Registration is not needed for the standard compiler-defined types, only for
user-defined types, but apparently it is also needed for the C++ timer types.
Fixed by registering std::chrono::milliseconds.
More information about the mythtv-commits