diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-02-11 13:41:29 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-02-11 13:41:29 +0100 |
commit | 2772964f99e7b14888d1faf4a2d3915e54f3e924 (patch) | |
tree | 07e36d6e8290ac3f2099a7ac31cf020c454b1670 /vdr.c | |
parent | b3891d831901da5e6ced3c022a3245a8f9f0bed7 (diff) | |
download | vdr-2772964f99e7b14888d1faf4a2d3915e54f3e924.tar.gz vdr-2772964f99e7b14888d1faf4a2d3915e54f3e924.tar.bz2 |
The epg.data file is now read in a separate thread
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -22,7 +22,7 @@ * * The project's page is at http://www.tvdr.de * - * $Id: vdr.c 2.27 2011/12/03 15:35:09 kls Exp $ + * $Id: vdr.c 2.28 2012/02/11 12:34:01 kls Exp $ */ #include <getopt.h> @@ -569,6 +569,7 @@ int main(int argc, char *argv[]) // Main program loop variables - need to be here to have them initialized before any EXIT(): + cEpgDataReader EpgDataReader; cOsdObject *Menu = NULL; int LastChannel = 0; int LastTimerChannel = -1; @@ -633,7 +634,7 @@ int main(int argc, char *argv[]) cSchedules::SetEpgDataFileName(AddDirectory(EpgDirectory, EpgDataFileName)); else cSchedules::SetEpgDataFileName(EpgDataFileName); - cSchedules::Read(); + EpgDataReader.Start(); } // DVB interfaces: |