[mythtv-commits] [MythTV/mythtv] 703752: DB access for information about existing transports

kmdewaal noreply at github.com
Sun Jul 25 06:59:13 UTC 2021


  Branch: refs/heads/fixes/31
  Home:   https://github.com/MythTV/mythtv
  Commit: 7037525723b56a30959d6fdf8e4b5a72c336a6ac
      https://github.com/MythTV/mythtv/commit/7037525723b56a30959d6fdf8e4b5a72c336a6ac
  Author: Klaas de Waal <klaas at kldo.nl>
  Date:   2021-07-25 (Sun, 25 Jul 2021)

  Changed paths:
    M mythtv/libs/libmythtv/channelscan/channelimporter.cpp

  Log Message:
  -----------
  DB access for information about existing transports

In mythtv-setup, the channels found in a scan are compared with the channels in the database.
Do not retrieve the sourceid from the the first channel of the first transport
anymore but use the sourceid that is passed as parameter.
This fixes a possible segmentation fault when the first transport does not have
any channels at all due to filtering of unwanted channels.

(cherry picked from commit 7f48b7007e387030822874d810c453985e7331b8)
Signed-off-by: Klaas de Waal <kdewaal at mythtv.org>




More information about the mythtv-commits mailing list