[mythtv-commits] mythtv commit: r15470 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Jan 17 16:17:32 UTC 2008


      Author: danielk
        Date: 2008-01-17 16:17:31 +0000 (Thu, 17 Jan 2008)
New Revision: 15470
   Changeset: http://cvs.mythtv.org/trac/changeset/15470

Modified:

   trunk/mythtv/libs/libmythtv/channel.cpp
   trunk/mythtv/libs/libmythtv/channel.h
   trunk/mythtv/libs/libmythtv/channelbase.cpp
   trunk/mythtv/libs/libmythtv/channelbase.h
   trunk/mythtv/libs/libmythtv/dvbchannel.cpp
   trunk/mythtv/libs/libmythtv/dvbchannel.h
   trunk/mythtv/libs/libmythtv/tv_rec.cpp

Log:

Fixes #4472. Refs #4480. Fixes a channel initialization problem.

The problem was causing segfaults in the firewire recorder as the channel was sometimes reinitialized on channel changes before the recorder had successfully paused. This was causing channel change scripts to be executed twice per channel change rather than once.

This adds a new function to ChannelBase, IsTunable() which only verifies whether the channel is tunable in terms of being a valid channel and not conflicting with input groups, but does not actually try to tune it. This also adds a parameter to ChannelBase::Init() called setchan, which when set actually intializes the channel, and when cleared does all the verification and has all the side-effects of Init() except for actually performing the initialization of the hardware.




More information about the mythtv-commits mailing list