[mythtv] little bug in TVRec::CheckChannel

Jacques Facquet jacques.facquet at free.fr
Sun Feb 27 18:24:01 UTC 2005


Hello,
first, please excuse my English.
second, I'm living in Montpellier/France and I'm using MythTv on a 
Soltek/P4 Northwood (heat problems with Prescot) and a PVR350 with 
TVOut through this card.
Mandrake 10.1 whith thac rpms, just upgraded to 0.17 version of 
mythtv.
I had some problems so, I have downloaded the cvs version.
I had a look on the soures .. wow! what a job !
I'm using the Tuner(secam)/SVhs and Composite entries and could not 
change from tuner to SVhs or Composite, by looking the messages I 
founded in :
mythtv/libmythtv/tv_rec.cpp
routine :
bool TVRec::CheckChannel(ChannelBase *chan, const QString &channum, 
QString& inputName)

Second query.
I have changed the line :
if (!query.isActive()
by 
if (!query.exec() || !query.isActive())

and

if (test != QString::null)
	inputName = QString::fromUtf8(test);
	 
by
if (test != QString::null)
{
	inputName = QString::fromUtf8(test);
	channelinput = QString::fromUtf8(test);
}

I'have just discovered the program, so, I don't know very well all the 
variables, but, now, I'ts work fine ;-)

Thank's a lot for your job.

Have a nice day.

-- 
Jacques Facquet.


More information about the mythtv-dev mailing list