[mythtv-commits] mythtv commit: r9205 - in trunk/mythtv by danielk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Tue Feb 28 17:04:58 UTC 2006
Author: danielk
Date: 2006-02-28 17:04:56 +0000 (Tue, 28 Feb 2006)
New Revision: 9205
Changeset: http://cvs.mythtv.org/trac/changeset/9205
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/dbox2channel.cpp
trunk/mythtv/libs/libmythtv/dvbchannel.cpp
trunk/mythtv/libs/libmythtv/firewirechannel.cpp
trunk/mythtv/libs/libmythtv/tv_rec.cpp
trunk/mythtv/programs/mythbackend/main.cpp
Log:
Fixes segfault when no inputs are connected on a card.
* Check return value of TVRec::Init() in mythbackend main.
* Check return value of Channel*::Open() in TVRec::InitChannel().
* return false when InitializeInputs() finds no connected inputs, and check this in Channel*:Open()
* Call InitializeInputs() in Open() in firewire and dbox2 channel classes, these classes were doing this in the constructor where we can't return false on error.
More information about the mythtv-commits
mailing list