diff options
author | schmirl <schmirl> | 2009-04-06 06:48:59 +0000 |
---|---|---|
committer | schmirl <schmirl> | 2009-04-06 06:48:59 +0000 |
commit | 64ff2c08be769cf227ac6cf2e318fcb6b80c9689 (patch) | |
tree | cd0e1d51b1f1a145a232cacdbd982c5b754b62c6 /client | |
parent | 3d16ba08409e5ca42eec427ef742809cc875f0b0 (diff) | |
download | vdr-plugin-streamdev-64ff2c08be769cf227ac6cf2e318fcb6b80c9689.tar.gz vdr-plugin-streamdev-64ff2c08be769cf227ac6cf2e318fcb6b80c9689.tar.bz2 |
Added missing call to StopSectionHandler().
This method was introduced in VDR 1.5.15. Its absence could cause crashes
when shutting down VDR
Diffstat (limited to 'client')
-rw-r--r-- | client/device.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); } |