summaryrefslogtreecommitdiff
path: root/targavfd.c
diff options
context:
space:
mode:
authoranbr <vdr07@deltab.de>2010-10-23 19:38:08 +0200
committeranbr <vdr07@deltab.de>2010-10-23 19:38:08 +0200
commitb7f95989e45ea6a0d6fc839ae628f5b2bc6f8b32 (patch)
tree070795528042943665d5c806050681f571ee5da9 /targavfd.c
parent4fb594582ea4587a83328b3e9964fde3c5bc36c1 (diff)
downloadvdr-plugin-targavfd-b7f95989e45ea6a0d6fc839ae628f5b2bc6f8b32.tar.gz
vdr-plugin-targavfd-b7f95989e45ea6a0d6fc839ae628f5b2bc6f8b32.tar.bz2
blank the device completely by svdrp off
Diffstat (limited to 'targavfd.c')
-rw-r--r--targavfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/targavfd.c b/targavfd.c
index 230de51..9a0de26 100644
--- a/targavfd.c
+++ b/targavfd.c
@@ -109,7 +109,7 @@ bool cPluginTargaVFD::resume() {
bool cPluginTargaVFD::suspend() {
if(!m_bSuspend) {
- m_dev.close();
+ m_dev.shutdown(eOnExitMode_BLANKSCREEN);
m_bSuspend = true;
return true;
}
@@ -134,7 +134,7 @@ void cPluginTargaVFD::Stop(void)
delete statusMonitor;
statusMonitor = NULL;
}
- m_dev.close();
+ m_dev.shutdown(theSetup.m_nOnExit);
}
void cPluginTargaVFD::Housekeeping(void)