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
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
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev