summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'device.c')
-rw-r--r--device.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/device.c b/device.c
index 0bab66cd..be59ed5f 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 2.44 2011/10/16 14:36:43 kls Exp $
+ * $Id: device.c 2.45 2012/01/17 15:28:57 kls Exp $
*/
#include "device.h"
@@ -531,6 +531,14 @@ bool cDevice::SetPid(cPidHandle *Handle, int Type, bool On)
return false;
}
+void cDevice::DelLivePids(void)
+{
+ for (int i = ptAudio; i < ptOther; i++) {
+ if (pidHandles[i].pid)
+ DelPid(pidHandles[i].pid, ePidType(i));
+ }
+}
+
void cDevice::StartSectionHandler(void)
{
if (!sectionHandler) {