[mythtv] [patch] DVB-EIT in HEAD (05/08/2005)

Stuart Auchterlonie stuarta at squashedfrog.net
Mon Aug 8 08:36:53 EDT 2005


On Sat, Aug 06, 2005 at 10:13:28AM -0400, Daniel Kristjansson wrote:
> The quicky solution would be to just connect the SIParser
> in DVBChannel to the EITHelper instance.
> 

Attached is a patch for the quick solution.
Now I'm off to work on the more complex solution.

Stuart

-------------- next part --------------
Index: libs/libmythtv/siscan.cpp
===================================================================
--- libs/libmythtv/siscan.cpp	(revision 83)
+++ libs/libmythtv/siscan.cpp	(working copy)
@@ -97,6 +97,7 @@
     {
         VERBOSE(VB_SIPARSER, "Creating SIParser");
         siparser = new DVBSIParser(GetDVBChannel()->GetCardNum());
+        siparser->FillPMap(SI_STANDARD_DVB);
         pthread_create(&siparser_thread, NULL, SpawnSectionReader, siparser);
         connect(siparser,        SIGNAL(UpdatePMT(const PMTObject*)),
                 GetDVBChannel(), SLOT(SetPMT(const PMTObject*)));
@@ -121,7 +122,8 @@
         if (_parseEIT)
         {
             eitHelper = new EITHelper();
-            connect(siparser,  SIGNAL(EventsReady(QMap_Events*)),
+            connect(GetDVBChannel()->siparser,  SIGNAL(EventsReady(QMap_Events*)),
                 eitHelper, SLOT(HandleEITs(QMap_Events*)));
         }
 #endif // USING_DVB_EIT


More information about the mythtv-dev mailing list