summaryrefslogtreecommitdiff
path: root/softhddev.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2013-01-05 22:48:01 +0100
committerJohns <johns98@gmx.net>2013-01-05 22:48:01 +0100
commitb24409323df32cfdb10f45f1705c59abb25e5041 (patch)
tree49f8b2515d8c66ed6f71317cb94bd07e8820bef1 /softhddev.c
parent9ec27160264b831a3953f11fbf86af432e19f28e (diff)
downloadvdr-plugin-softhddevice-b24409323df32cfdb10f45f1705c59abb25e5041.tar.gz
vdr-plugin-softhddevice-b24409323df32cfdb10f45f1705c59abb25e5041.tar.bz2
Fix detach and attach bug.
Diffstat (limited to 'softhddev.c')
-rw-r--r--softhddev.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/softhddev.c b/softhddev.c
index fd51917..fd9397d 100644
--- a/softhddev.c
+++ b/softhddev.c
@@ -2810,6 +2810,9 @@ void MainThreadHook(void)
// Suspend/Resume
//////////////////////////////////////////////////////////////////////////////
+ /// call VDR support function
+extern void DelPip(void);
+
/**
** Suspend plugin.
**
@@ -2827,6 +2830,8 @@ void Suspend(int video, int audio, int dox11)
Debug(3, "[softhddev]%s:\n", __FUNCTION__);
+ DelPip(); // must stop PIP
+
MyVideoStream->SkipStream = 1;
SkipAudio = 1;