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 -0000 1.15 +++ server/connectionVTP.c 15 Dec 2007 14:34:15 -0000 @@ -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