Skip to content

Commit

Permalink
setSpeed() - eliminate spurious -v media log line if Media Monitor di…
Browse files Browse the repository at this point in the history
…sabled.

If user has the Media Monitor disabled, this happened:
2012-03-07 12:22:34.376477 I  MythCDROMDarwin::setSpeed() - CD/DVD Speed Set to 1
2012-03-07 12:22:34.376616 I  MediaMonitor::setSpeed(//dev/rdisk1) - Cannot find/create CDROM?
  • Loading branch information
NigelPearson committed Mar 7, 2012
1 parent ede2706 commit fef4aa4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mythtv/libs/libmyth/mythmediamonitor.cpp
Expand Up @@ -97,6 +97,7 @@ void MediaMonitor::SetCDSpeed(const char *device, int speed)
{
cd->setSpeed(device, speed);
delete cd;
return;
}

LOG(VB_MEDIA, LOG_INFO,
Expand Down

0 comments on commit fef4aa4

Please sign in to comment.