mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
- zapit: detect uhd-channels
Signed-off-by: Thilo Graf <dbt@novatux.de>
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