mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
				synced 2023-10-10 17:16:51 +00:00 
			
		
		
		
	- detach all receivers before tuning to different transponder. Otherwise ABRT will be sent after tuning, which will destroy the LiveStreamer on the server.
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| /* | ||||
|  *  $Id: device.c,v 1.6 2005/04/24 16:21:59 lordjaxom Exp $ | ||||
|  *  $Id: device.c,v 1.7 2006/09/14 10:43:10 schmirl Exp $ | ||||
|  */ | ||||
|   | ||||
| #include "client/device.h" | ||||
| @@ -101,6 +101,7 @@ bool cStreamdevDevice::SetChannelDevice(const cChannel *Channel, | ||||
| 			&& TRANSPONDER(Channel, m_Channel)) | ||||
| 		return true; | ||||
|  | ||||
| 	DetachAllReceivers(); | ||||
| 	m_Channel = Channel; | ||||
| 	bool r = ClientSocket.SetChannelDevice(m_Channel); | ||||
| 	Dprintf("setchanneldevice r=%d\n", r); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user