mirror of
				https://github.com/rofafor/vdr-plugin-satip.git
				synced 2023-10-10 11:37:42 +00:00 
			
		
		
		
	Added a device hook support for ProvidesTransponder().
This commit is contained in:
		
							
								
								
									
										4
									
								
								device.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								device.c
									
									
									
									
									
								
							| @@ -232,7 +232,9 @@ bool cSatipDevice::ProvidesSource(int sourceP) const | ||||
| bool cSatipDevice::ProvidesTransponder(const cChannel *channelP) const | ||||
| { | ||||
|   debug1("%s (%d) transponder=%d source=%c [device %u]", __PRETTY_FUNCTION__, channelP ? channelP->Number() : -1, channelP ? channelP->Transponder() : -1, channelP ? cSource::ToChar(channelP->Source()) : '?', deviceIndexM); | ||||
|   return (ProvidesSource(channelP->Source())); | ||||
|   if (!ProvidesSource(channelP->Source())) | ||||
|      return false; | ||||
|   return DeviceHooksProvidesTransponder(channelP); | ||||
| } | ||||
|  | ||||
| bool cSatipDevice::ProvidesChannel(const cChannel *channelP, int priorityP, bool *needsDetachReceiversP) const | ||||
|   | ||||
		Reference in New Issue
	
	Block a user