summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-02-11 13:41:29 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-02-11 13:41:29 +0100
commit2772964f99e7b14888d1faf4a2d3915e54f3e924 (patch)
tree07e36d6e8290ac3f2099a7ac31cf020c454b1670 /vdr.c
parentb3891d831901da5e6ced3c022a3245a8f9f0bed7 (diff)
downloadvdr-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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index 3d79eef4..0913614f 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.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: