summaryrefslogtreecommitdiff
path: root/softhddevice.cpp
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-03-02 00:05:03 +0100
committerJohns <johns98@gmx.net>2012-03-02 00:05:03 +0100
commit0df8e8a5fc5473eee0e427dd5acfe81e3668a5a4 (patch)
tree36514b6e26e6c78a63526ac9628dc7bd424d2018 /softhddevice.cpp
parent6a28064dcebfb0cf6f3d36d3567a33d0620a7686 (diff)
downloadvdr-plugin-softhddevice-0df8e8a5fc5473eee0e427dd5acfe81e3668a5a4.tar.gz
vdr-plugin-softhddevice-0df8e8a5fc5473eee0e427dd5acfe81e3668a5a4.tar.bz2
Handle initial suspend mode like normal suspend.
Diffstat (limited to 'softhddevice.cpp')
-rw-r--r--softhddevice.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/softhddevice.cpp b/softhddevice.cpp
index 97c252a..3ccce1c 100644
--- a/softhddevice.cpp
+++ b/softhddevice.cpp
@@ -1405,7 +1405,9 @@ bool cPluginSoftHdDevice::Start(void)
}
}
- ::Start();
+ if (!::Start()) {
+ SuspendMode = SUSPEND_NORMAL;
+ }
return true;
}