[mythtv-commits] mythtv commit: r6951 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Jul 28 14:16:04 EDT 2005


      Author: danielk
        Date: 2005-07-28 18:16:03 +0000 (Thu, 28 Jul 2005)
New Revision: 6951
   Changeset: http://cvs.mythtv.org/trac/changeset/6951

Modified:

   trunk/mythtv/libs/libmythtv/channelutil.cpp
   trunk/mythtv/libs/libmythtv/siscan.cpp

Log:

Adds more debugging to GetBetterMplexID() on -v siparser

More importantantly this fixes a bug in channel scanning 
where the wrong mplexid was used when trying to insert a
channel into the DB.

This was caused when I tried to make the EIT parser work
again and used the DVBChannel's mplexid even if the
scanner had a better mplex id. The fix should have
been to use the scanner's mplex id, and only fall back
to the DVBChannel's mplexid if the scanner did not have
one. This is because when we tune to a channel in the
scanner an mplexid may not yet exist, so DVBChannel
does not have a valid mplexid.

Anyway, this should fix the problem.






More information about the mythtv-commits mailing list