mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
zapit: detect uhd-channels
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1138784282
Author: TangoCash <eric@loxat.de>
Date: 2017-10-20 (Fri, 20 Oct 2017)
Origin message was:
------------------
- zapit: detect uhd-channels
Signed-off-by: Thilo Graf <dbt@novatux.de>
------------------
This commit was generated by Migit
This commit is contained in:
@@ -219,6 +219,7 @@ class CZapitChannel
|
||||
t_original_network_id getOriginalNetworkId(void) const { return original_network_id; }
|
||||
std::string getScriptName(void) const { return script; }
|
||||
unsigned char getServiceType(bool real=false);
|
||||
bool isUHD();
|
||||
bool isHD();
|
||||
t_channel_id getChannelID(void) const { return channel_id; }
|
||||
transponder_id_t getTransponderId(void) const { return CREATE_TRANSPONDER_ID64(freq, satellitePosition,original_network_id,transport_stream_id); }
|
||||
|
@@ -197,6 +197,13 @@ unsigned char CZapitChannel::getServiceType(bool real)
|
||||
ST_DIGITAL_RADIO_SOUND_SERVICE : ST_DIGITAL_TELEVISION_SERVICE;
|
||||
}
|
||||
|
||||
bool CZapitChannel::isUHD()
|
||||
{
|
||||
if (serviceType == 0x1f)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CZapitChannel::isHD()
|
||||
{
|
||||
switch(serviceType) {
|
||||
|
Reference in New Issue
Block a user