Re: [vdr] Fix Pid not available error in the streamdev plugin VDR-VDR connection

2007-12-17 Thread Frank Schmirler
On Sat, 15 Dec 2007 15:48:21 +0100, Jose Alberto Reguero wrote
 This patch fix the error Pid xxx not available in the streamdev 
 plugin with VDR-VDR connection, that cause not tunning to the 
 channel. The problem is that sometimes, when cConnectionVTP::CmdADDP 
 is called, m_LiveStreamer is NULL, and then return an errorr. 
 m_LiveStreamer became null in cConnectionVTP::CmdABRT that is called 
 from cStreamdevDevice::CloseDvrInt called from cStreamdevDevice::CloseDvr.

Guess you refer to this problem:
http://www.vdr-developer.org/mantisbt/view.php?id=255

I finally commited a workaround to CVS last week. The problem is caused by VDR
1.5.x clients, so I'd rather see this fixed on the client side. But thanks for
your efforts nevertheless! I added a reference to your posting in the bugreport.

Frank

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] Fix Pid not available error in the streamdev plugin VDR-VDR connection

2007-12-15 Thread Jose Alberto Reguero
This patch fix the error Pid xxx not available in the streamdev plugin with 
VDR-VDR connection, that cause not tunning to the channel.
The problem is that sometimes, when cConnectionVTP::CmdADDP is called, 
m_LiveStreamer is NULL, and then return an errorr.
m_LiveStreamer became null in cConnectionVTP::CmdABRT that is called from 
cStreamdevDevice::CloseDvrInt called from cStreamdevDevice::CloseDvr.

Jose Alberto
Index: server/connectionVTP.c
===
RCS file: /var/cvsroot/streamdev/server/connectionVTP.c,v
retrieving revision 1.15
diff -u -r1.15 connectionVTP.c
--- server/connectionVTP.c	21 Sep 2007 12:45:31 -	1.15
+++ server/connectionVTP.c	15 Dec 2007 14:34:15 -
@@ -840,7 +840,8 @@
 
 	switch (id) {
 	case siLive: 
-		DELETENULL(m_LiveStreamer); 
+		m_LiveStreamer-Stop();
+//		DELETENULL(m_LiveStreamer); 
 		DELETENULL(m_LiveSocket);
 		break;
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr