[mythtv-commits] [MythTV/mythtv] c6c5f6: Initialize number of channels found to 0 instead o...
kmdewaal
noreply at github.com
Sat Aug 17 21:44:39 UTC 2019
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: c6c5f607902eec53f7c78260dc0c6aa4a93e89fb
https://github.com/MythTV/mythtv/commit/c6c5f607902eec53f7c78260dc0c6aa4a93e89fb
Author: Klaas de Waal <kdewaal at mythtv.org>
Date: 2019-08-17 (Sat, 17 Aug 2019)
Changed paths:
M mythtv/libs/libmythtv/channelscan/channelscan_sm.h
Log Message:
-----------
Initialize number of channels found to 0 instead of 999.
Commit: 796c4c5827d8484d47f32c91e423ae22651678ab
https://github.com/MythTV/mythtv/commit/796c4c5827d8484d47f32c91e423ae22651678ab
Author: Klaas de Waal <kdewaal at mythtv.org>
Date: 2019-08-17 (Sat, 17 Aug 2019)
Changed paths:
M mythtv/libs/libmythtv/channelscan/channelimporter.cpp
Log Message:
-----------
No more channel conflicts on ATSC major/minor numbers.
This change is similar to that for channel conflicts on service ID's for DVB.
Rationale (also the same):
A "conflicting channel" in mythtv-setup is a channel that does not have a unique channel number.
It is essential to have a unique channel number for all channels in a video source otherwise
mythbackend can arbitrarily select any channel with the same channel number for a recording.
However, mythtv-setup also considers a channel conflicting if the ATSC major/minor number
combination is the same as another channel and then forces the user to enter a unique channel number.
In my understanding this is a bug because A. it does not change the ATSC major/minor numbers
and B. ATSC major/minor number combinations do not need to be unique in MythTV.
For ATSC the test on the major/minor number combination uniqueness is removed and all ATSC channels
are now considered "non-conflicting" to start with.
The ATSC major/minor number combination is used to create default channel numbers
but later on the check on the uniqueness of the channel number is still done.
Refs #13472
Compare: https://github.com/MythTV/mythtv/compare/adc2c4f0416d...796c4c5827d8
More information about the mythtv-commits
mailing list