summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/vdr.c b/vdr.c
index c63eecaa..bf581a6e 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.tvdr.de
*
- * $Id: vdr.c 2.57 2013/03/15 10:44:54 kls Exp $
+ * $Id: vdr.c 3.1 2013/06/10 14:28:43 kls Exp $
*/
#include <getopt.h>
@@ -800,6 +800,11 @@ int main(int argc, char *argv[])
if (AudioCommand)
new cExternalAudio(AudioCommand);
+ // Positioner:
+
+ if (!cPositioner::GetPositioner()) // no plugin has created a positioner
+ new cDiseqcPositioner;
+
// Channel:
if (!cDevice::WaitForAllDevicesReady(DEVICEREADYTIMEOUT))
@@ -1400,6 +1405,7 @@ Exit:
Setup.Save();
}
cDevice::Shutdown();
+ cPositioner::DestroyPositioner();
EpgHandlers.Clear();
PluginManager.Shutdown(true);
cSchedules::Cleanup(true);