summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-08-21 11:02:52 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2013-08-21 11:02:52 +0200
commitcd10b439d0465afa6bce38188a4e9d8a5e74d859 (patch)
tree54480623232fb0e8e94fd37a5c9e31603301dd35 /vdr.c
parent5b76eec1afbe435b5d1dfabaaa9546f8e400cba7 (diff)
downloadvdr-cd10b439d0465afa6bce38188a4e9d8a5e74d859.tar.gz
vdr-cd10b439d0465afa6bce38188a4e9d8a5e74d859.tar.bz2
Added basic support for positioners to control steerable satellite dishes
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);