Init returns something, it should be checked and reported.
From: Erik Hovland <erik@hovland.org>
---
libs/libmythtv/firewirechannel.cpp | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/libs/libmythtv/firewirechannel.cpp b/libs/libmythtv/firewirechannel.cpp
index 6915b4c..60ec851 100644
a
|
b
|
FirewireChannel::FirewireChannel(TVRec *parent, const QString &_videodevice, |
37 | 37 | device = new DarwinFirewireDevice(guid, subunitid, fw_opts.speed); |
38 | 38 | #endif // USING_OSX_FIREWIRE |
39 | 39 | |
40 | | InitializeInputs(); |
| 40 | if (!InitializeInputs()) |
| 41 | { |
| 42 | VERBOSE(VB_IMPORTANT, LOC_ERR + "FirewireChannel::Ctor : " |
| 43 | "ChannelBase::InitializeInputs failed"); |
| 44 | } |
41 | 45 | } |
42 | 46 | |
43 | 47 | bool FirewireChannel::SetChannelByString(const QString &channum) |