Mailing List Archive

[MythTV/mythtv] be2295: Initialize channel inputId at creation
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: be229569fed0c54dbb88e3555009676c0823f97f
https://github.com/MythTV/mythtv/commit/be229569fed0c54dbb88e3555009676c0823f97f
Author: Klaas de Waal <klaas@kldo.nl>
Date: 2022-05-16 (Mon, 16 May 2022)

Changed paths:
M mythtv/libs/libmythtv/recorders/channelbase.cpp
M mythtv/libs/libmythtv/recorders/channelbase.h

Log Message:
-----------
Initialize channel inputId at creation

Initialize the inputId of the channel when the channel is created
instead of when the channel is opened.
Log messages such as from the HDHomeRun stream handler are now
always printed with a valid inputId instead of 0.
Before the fix:
2022-05-16 21:56:38.628600 I HDHRSH[0](1410F45C): Added 4 devices from 1410F45C
2022-05-16 21:56:38.647267 I HDHRSH[0](1410F45C): Connected to device(1410F45C-0)
After the fix:
2022-05-16 22:14:46.828045 I HDHRSH[36](1410F45C): Added 4 devices from 1410F45C
2022-05-16 22:14:46.847401 I HDHRSH[36](1410F45C): Connected to device(1410F45C-0)
There are no intended functional changes.


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits