neutrino: start sectionsd earlier to avoid waiting for it

This commit is contained in:
Stefan Seyfried
2011-10-02 13:48:51 +02:00
parent 5db0f0aee0
commit 37ce4b2012

View File

@@ -1664,6 +1664,9 @@ int CNeutrinoApp::run(int argc, char **argv)
ZapStart_arg.uselastchannel = g_settings.uselastchannel;
ZapStart_arg.video_mode = g_settings.video_Mode;
#ifndef DISABLE_SECTIONSD
pthread_create (&sections_thread, NULL, sectionsd_main_thread, (void *) NULL);
#endif
CZapit::getInstance()->Start(&ZapStart_arg);
audioSetupNotifier = new CAudioSetupNotifier;
@@ -1713,9 +1716,6 @@ int CNeutrinoApp::run(int argc, char **argv)
hintBox->hide(); //FIXME
hintBox->paint();
#ifndef DISABLE_SECTIONSD
pthread_create (&sections_thread, NULL, sectionsd_main_thread, (void *) NULL);
#endif
g_Zapit = new CZapitClient;
g_info.delivery_system = g_Zapit->getDeliverySystem();