diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-08-21 11:02:52 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-08-21 11:02:52 +0200 |
commit | cd10b439d0465afa6bce38188a4e9d8a5e74d859 (patch) | |
tree | 54480623232fb0e8e94fd37a5c9e31603301dd35 /vdr.c | |
parent | 5b76eec1afbe435b5d1dfabaaa9546f8e400cba7 (diff) | |
download | vdr-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.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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); |