mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
eitd: add and move viasat to extra switch
This commit is contained in:
@@ -132,8 +132,11 @@ OpenThreads::Mutex filter_mutex;
|
||||
static CTimeThread threadTIME;
|
||||
static CEitThread threadEIT;
|
||||
static CCNThread threadCN;
|
||||
|
||||
#ifdef ENABLE_VIASATEPG
|
||||
// ViaSAT uses pid 0x39 instead of 0x12
|
||||
static CEitThread threadVSEIT("viasatThread", 0x39);
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_FREESATEPG
|
||||
static CFreeSatThread threadFSEIT;
|
||||
@@ -838,7 +841,10 @@ static void wakeupAll()
|
||||
{
|
||||
threadCN.change(0);
|
||||
threadEIT.change(0);
|
||||
#ifdef ENABLE_VIASATEPG
|
||||
threadVSEIT.change(0);
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_FREESATEPG
|
||||
threadFSEIT.change(0);
|
||||
#endif
|
||||
@@ -961,7 +967,9 @@ static void commandserviceChanged(int connfd, char *data, const unsigned dataLen
|
||||
threadCN.setCurrentService(messaging_current_servicekey);
|
||||
threadEIT.setDemux(cmd->dnum);
|
||||
threadEIT.setCurrentService(uniqueServiceKey /*messaging_current_servicekey*/);
|
||||
#ifdef ENABLE_VIASATEPG
|
||||
threadVSEIT.setCurrentService(messaging_current_servicekey);
|
||||
#endif
|
||||
#ifdef ENABLE_FREESATEPG
|
||||
threadFSEIT.setCurrentService(messaging_current_servicekey);
|
||||
#endif
|
||||
@@ -2225,7 +2233,9 @@ printf("SIevent size: %d\n", (int)sizeof(SIevent));
|
||||
threadTIME.Start();
|
||||
threadEIT.Start();
|
||||
threadCN.Start();
|
||||
#ifdef ENABLE_VIASATEPG
|
||||
threadVSEIT.Start();
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_FREESATEPG
|
||||
threadFSEIT.Start();
|
||||
@@ -2264,7 +2274,9 @@ printf("SIevent size: %d\n", (int)sizeof(SIevent));
|
||||
threadEIT.StopRun();
|
||||
threadCN.StopRun();
|
||||
threadTIME.StopRun();
|
||||
#ifdef ENABLE_VIASATEPG
|
||||
threadVSEIT.StopRun();
|
||||
#endif
|
||||
#ifdef ENABLE_SDT
|
||||
threadSDT.StopRun();
|
||||
#endif
|
||||
@@ -2288,9 +2300,10 @@ printf("SIevent size: %d\n", (int)sizeof(SIevent));
|
||||
|
||||
xprintf("join CN\n");
|
||||
threadCN.Stop();
|
||||
|
||||
#ifdef ENABLE_VIASATEPG
|
||||
xprintf("join VSEIT\n");
|
||||
threadVSEIT.Stop();
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_SDT
|
||||
xprintf("join SDT\n");
|
||||
|
Reference in New Issue
Block a user