diff options
author | Johns <johns98@gmx.net> | 2012-03-02 00:05:03 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-03-02 00:05:03 +0100 |
commit | 0df8e8a5fc5473eee0e427dd5acfe81e3668a5a4 (patch) | |
tree | 36514b6e26e6c78a63526ac9628dc7bd424d2018 /softhddevice.cpp | |
parent | 6a28064dcebfb0cf6f3d36d3567a33d0620a7686 (diff) | |
download | vdr-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.cpp | 4 |
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; } |