[mythtv-commits] [MythTV/mythtv] 44960f: Tweak configure for linking vulkan in Ubuntu 21.xx.

Stuart Auchterlonie noreply at github.com
Thu Jun 3 16:27:27 UTC 2021


  Branch: refs/heads/devel/http
  Home:   https://github.com/MythTV/mythtv
  Commit: 44960ff1832f76476839b941b16adbeae609d971
      https://github.com/MythTV/mythtv/commit/44960ff1832f76476839b941b16adbeae609d971
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M mythtv/configure

  Log Message:
  -----------
  Tweak configure for linking vulkan in Ubuntu 21.xx.


  Commit: 37e8b7719a51e82e05ecce21478e11bdc1db2968
      https://github.com/MythTV/mythtv/commit/37e8b7719a51e82e05ecce21478e11bdc1db2968
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M mythtv/libs/libmythbase/codecutil.cpp

  Log Message:
  -----------
  qt6: Use the new QStringDecoder functions that replaced QTextCodec. (libmythbase)


  Commit: d7d6596c049dac999c65e59651869a7901f343a5
      https://github.com/MythTV/mythtv/commit/d7d6596c049dac999c65e59651869a7901f343a5
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp

  Log Message:
  -----------
  qt6: Use the new QStringDecoder functions that replaced QTextCodec. (avformatdecoder)


  Commit: 7e232774ec4ce0d0e68d7622ccfcd17ba867fd9e
      https://github.com/MythTV/mythtv/commit/7e232774ec4ce0d0e68d7622ccfcd17ba867fd9e
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M mythtv/libs/libmythtv/libmythtv.pro
    M mythtv/libs/libmythtv/mpeg/dvbdescriptors.cpp
    M mythtv/libs/libmythtv/test/test_mpegtables/test_mpegtables.cpp
    M mythtv/libs/libmythtv/test/test_mpegtables/test_mpegtables.h

  Log Message:
  -----------
  Use iconv for decoding DVB descriptors.

Qt6 has completely removed the QTextCodec class. The replacement
QStringConverter class supports the various Unicode encodings and
Latin-1, but drops all support for the ISO-8859 encodings. Switch to
iconv so that we don't lose ISO-8859 support when we switch to Qt6.


  Commit: bfbf9ab53b1e0a525bced9b13249edfb16f6dd0c
      https://github.com/MythTV/mythtv/commit/bfbf9ab53b1e0a525bced9b13249edfb16f6dd0c
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M mythtv/libs/libmythtv/recorders/HLS/HLSReader.cpp

  Log Message:
  -----------
  clazy: Fix 'allocating an unneeded temporary container' warning.

Don't create a list of all the keys in the map, select one, and then
index back into the map. With a large map and a small index this
wastes time in creating the list of keys. Just run an iterator over
the map and move the right number of steps. This code works in both
Qt5 and Qt6. (Qt5 let you add an integer to an iterator to move that
many items. Qt6 only allows you to increment the iterator.)


  Commit: 5ad3029aec23e261e194626f21992d7414722dec
      https://github.com/MythTV/mythtv/commit/5ad3029aec23e261e194626f21992d7414722dec
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M mythtv/libs/libmythtv/mythplayer.cpp
    M mythtv/libs/libmythtv/mythplayer.h

  Log Message:
  -----------
  tidy: Fix "uppercase literal suffix" warning message.


  Commit: e52e3ff7499703eec33b41ba5c9e069998c0e712
      https://github.com/MythTV/mythtv/commit/e52e3ff7499703eec33b41ba5c9e069998c0e712
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-05-14 (Fri, 14 May 2021)

  Changed paths:
    M mythtv/libs/libmythtv/mpeg/atsctables.h

  Log Message:
  -----------
  Use system library function to byte swap VCT short channel name.

Qt 6.1 added overloads to the QChar constructor that catch an int or
uint argument, and use an assert to validate that the passed value
fits in 16 bits. The current implementation calls the uint version of
the constructor, and will crash if it is ever passed a number outside
of the range 0-65535, which means passing the number -1 will cause a
crash.

Converting the exiting manual byte swap to use be16toh() serves two
purposes. First it guarantees that the result is a uint16_t and
therefore can't trigger the assert. Second, it should result in
correct values if this code is ever compiled on a big-endian system.


  Commit: a7a40e9f9d868f17532d85ad1c31d6ff4148c4bf
      https://github.com/MythTV/mythtv/commit/a7a40e9f9d868f17532d85ad1c31d6ff4148c4bf
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-05-16 (Sun, 16 May 2021)

  Changed paths:
    M mythtv/libs/libmythtv/mpeg/dvbdescriptors.cpp

  Log Message:
  -----------
  Fix resource leak in iconv_helper function.

Coverity #1484881.


  Commit: 1fa8a71e028e4f759f0a4476f9c57cb3e914b30d
      https://github.com/MythTV/mythtv/commit/1fa8a71e028e4f759f0a4476f9c57cb3e914b30d
  Author: David Hampton <mythtv at love2code.net>
  Date:   2021-05-16 (Sun, 16 May 2021)

  Changed paths:
    M mythtv/libs/libmythtv/mpeg/atsctables.h

  Log Message:
  -----------
  Fix compilation errors on OSX and FreeBSD.


  Commit: 75deb8569c814d9bb65281ed0bffe79d6058e604
      https://github.com/MythTV/mythtv/commit/75deb8569c814d9bb65281ed0bffe79d6058e604
  Author: Stuart Auchterlonie <stuarta at mythtv.org>
  Date:   2021-05-17 (Mon, 17 May 2021)

  Changed paths:
    M mythtv/libs/libmythbase/portchecker.cpp
    M mythtv/libs/libmythtv/channelutil.cpp
    M mythtv/libs/libmythtv/mythvideooutgpu.cpp

  Log Message:
  -----------
  Remove obsolete cppcheck suppressions


  Commit: c8c226c9b4bb898753605316e3a2be7f8e7f64f7
      https://github.com/MythTV/mythtv/commit/c8c226c9b4bb898753605316e3a2be7f8e7f64f7
  Author: Gary Buhrmaster <gary.buhrmaster at gmail.com>
  Date:   2021-05-17 (Mon, 17 May 2021)

  Changed paths:
    M mythtv/bindings/perl/MythTV.pm
    M mythtv/bindings/python/MythTV/static.py
    M mythtv/libs/libmythbase/mythversion.h
    M mythtv/libs/libmythtv/dbcheck.cpp

  Log Message:
  -----------
  Improve program ratings

The programrating (and recordedrating) tables define the lengths of
the system to 8 characters and the rating to 16 characters.
There are grabbers which can generate both systems and ratings
longer than that (ratings of "Linguagem Imprópria" (Bad Language?),
and "Strong Sexual Content" are both part of the generic "advisory"
system available from a few grabbers, and the rating agency name
"Departamento de Justiça, Classificação, Títulos e Qualificação"
from another grabber is a bit longer than 8 characters).

Please consider expanding the system and rating character sizes to be
somewhat longer to not lose some details about the system and rating itself.

Fixes #354

Signed-off-by: Klaas de Waal <kdewaal at mythtv.org>


  Commit: 034eb86a3ff03897097362e1bbdf3c256e0cf663
      https://github.com/MythTV/mythtv/commit/034eb86a3ff03897097362e1bbdf3c256e0cf663
  Author: Bill Meek <billmeek at mythtv.org>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M mythtv/libs/libmythtv/dbcheck.cpp

  Log Message:
  -----------
  DB: put system column in back ticks

Initial change in 8c226c9b4


  Commit: e55471f0776911a82ded3e008abbd3158f2e40b5
      https://github.com/MythTV/mythtv/commit/e55471f0776911a82ded3e008abbd3158f2e40b5
  Author: Bill Meek <billmeek at mythtv.org>
  Date:   2021-05-25 (Tue, 25 May 2021)

  Changed paths:
    M mythtv/libs/libmythbase/mythdbcon.cpp
    M mythtv/libs/libmythbase/mythdbcon.h

  Log Message:
  -----------
  DB: Reconnect if MySQL error code 4031 is received

A new error code was introduced in MySQL client v8.0.24 that
mythdbcon.cpp didn't handle. Users would loose the ability
to make any recordings.

Reported on the -users list and Forum for Ubuntu 20.04 users
after a recent updat to mysql* v8.0.25 and MythTV v31.0 or
master. Two MariaDB users also reported.

Tests with wait_timeout set to 300 (seconds).

18.04 (which doesn't have the problem):
Scheduler scheduler.cpp:2310 (HandleReschedule) - Reschedule requested for PLACE PrepareToRecord
Scheduler mythdbcon.cpp:947 (lostConnectionCheck) - SQL Native Error Code: 2006
Scheduler mythdbcon.cpp:260 (Reconnect) - MySQL reconnected successfully

20.04:
Scheduler scheduler.cpp:2309 (HandleReschedule) - Reschedule requested for MATCH 0 0 0 - MythUtilCommand
Scheduler mythdbcon.cpp:879 (prepare) - SQL Native Error Code: 4031
Scheduler mythdbcon.cpp:260 (Reconnect) - MySQL reconnected successfully

No testing on MariaDB has been yet.

Refs #359


  Commit: eafe170b260ce4d6128e14a10af54d80e297d1b9
      https://github.com/MythTV/mythtv/commit/eafe170b260ce4d6128e14a10af54d80e297d1b9
  Author: Bill Meek <billmeek at mythtv.org>
  Date:   2021-05-25 (Tue, 25 May 2021)

  Changed paths:
    M mythtv/libs/libmythbase/mythdbcon.cpp

  Log Message:
  -----------
  tidy: simplified return from lostConnectionCheck()


  Commit: df200c0b6bf42798ffd4078016472e57e75e9417
      https://github.com/MythTV/mythtv/commit/df200c0b6bf42798ffd4078016472e57e75e9417
  Author: Stuart Auchterlonie <stuarta at mythtv.org>
  Date:   2021-06-03 (Thu, 03 Jun 2021)

  Changed paths:
    M mythtv/bindings/perl/MythTV.pm
    M mythtv/bindings/python/MythTV/static.py
    M mythtv/configure
    M mythtv/libs/libmythbase/codecutil.cpp
    M mythtv/libs/libmythbase/mythdbcon.cpp
    M mythtv/libs/libmythbase/mythdbcon.h
    M mythtv/libs/libmythbase/mythversion.h
    M mythtv/libs/libmythbase/portchecker.cpp
    M mythtv/libs/libmythtv/channelutil.cpp
    M mythtv/libs/libmythtv/dbcheck.cpp
    M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
    M mythtv/libs/libmythtv/libmythtv.pro
    M mythtv/libs/libmythtv/mpeg/atsctables.h
    M mythtv/libs/libmythtv/mpeg/dvbdescriptors.cpp
    M mythtv/libs/libmythtv/mythplayer.cpp
    M mythtv/libs/libmythtv/mythplayer.h
    M mythtv/libs/libmythtv/mythvideooutgpu.cpp
    M mythtv/libs/libmythtv/recorders/HLS/HLSReader.cpp
    M mythtv/libs/libmythtv/test/test_mpegtables/test_mpegtables.cpp
    M mythtv/libs/libmythtv/test/test_mpegtables/test_mpegtables.h

  Log Message:
  -----------
  Merge branch 'master' into devel/http


Compare: https://github.com/MythTV/mythtv/compare/71a6420ab682...df200c0b6bf4


More information about the mythtv-commits mailing list