From 64ff2c08be769cf227ac6cf2e318fcb6b80c9689 Mon Sep 17 00:00:00 2001 From: schmirl Date: Mon, 6 Apr 2009 06:48:59 +0000 Subject: Added missing call to StopSectionHandler(). This method was introduced in VDR 1.5.15. Its absence could cause crashes when shutting down VDR --- HISTORY | 2 ++ client/device.c | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 7b4c707..4f8aef1 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,8 @@ VDR Plugin 'streamdev' Revision History --------------------------------------- +- added missing call to StopSectionHandler which could cause crashes when + shutting down VDR - added IGMP based multicast streaming - ignore trailing blank lines in HTTP requests - fixed parsing Min/MaxPriority from config (thanks to Joachim König-Baltes) diff --git a/client/device.c b/client/device.c index 9b0dfb5..4b6c3c5 100644 --- a/client/device.c +++ b/client/device.c @@ -1,5 +1,5 @@ /* - * $Id: device.c,v 1.22 2009/01/29 07:48:58 schmirl Exp $ + * $Id: device.c,v 1.23 2009/04/06 06:48:59 schmirl Exp $ */ #include "client/device.h" @@ -50,6 +50,9 @@ cStreamdevDevice::~cStreamdevDevice() { Cancel(3); +#if APIVERSNUM >= 10515 + StopSectionHandler(); +#endif DELETENULL(m_Filters); DELETENULL(m_TSBuffer); } -- cgit v1.2.3