Ticket #2372: ticket2372-add-echostar-tvtype-descriptors.diff
File ticket2372-add-echostar-tvtype-descriptors.diff, 1.2 KB (added by , 18 years ago) |
---|
-
libs/libmythtv/mpeg/dvbdescriptors.h
old new 1160 1160 kServiceTypeRCS_FLS = 0x0F, 1161 1161 kServiceTypeDVB_MHP = 0x10, 1162 1162 kServiceTypeHDTV = 0x19, 1163 kServiceTypeEchoStarTV1 = 0x91, 1164 kServiceTypeEchoStarTV2 = 0x9a, 1163 1165 }; 1164 1166 // service_type 8 2.0 1165 1167 uint ServiceType(void) const { return _data[2]; } … … 1178 1180 ServiceNameLength()); 1179 1181 } 1180 1182 bool IsDTV(void) const 1181 { return ServiceType() == kServiceTypeDigitalTelevision; } 1183 { return ((ServiceType() == kServiceTypeDigitalTelevision) || 1184 (ServiceType() == kServiceTypeEchoStarTV1) || 1185 (ServiceType() == kServiceTypeEchoStarTV2)); } 1182 1186 bool IsDigitalAudio(void) const 1183 1187 { return ServiceType() == kServiceTypeDigitalRadioSound; } 1184 1188 bool IsHDTV(void) const