summaryrefslogtreecommitdiff
path: root/softhddevice.cpp
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-02-23 15:32:43 +0100
committerJohns <johns98@gmx.net>2012-02-23 15:32:43 +0100
commitc17af0e95857877c608bcced814ed2cd1edb1482 (patch)
tree1dffdcfcc00dd7aa53088e72f3b2e03505c796d0 /softhddevice.cpp
parent2561214c3ed56dc43a3d607260ad71f7c816ae3b (diff)
downloadvdr-plugin-softhddevice-c17af0e95857877c608bcced814ed2cd1edb1482.tar.gz
vdr-plugin-softhddevice-c17af0e95857877c608bcced814ed2cd1edb1482.tar.bz2
Fix bug: 100% cpu use with plugins like mp3.
Diffstat (limited to 'softhddevice.cpp')
-rw-r--r--softhddevice.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/softhddevice.cpp b/softhddevice.cpp
index 77cdec2..a63d02e 100644
--- a/softhddevice.cpp
+++ b/softhddevice.cpp
@@ -295,7 +295,7 @@ void cSoftOsd::Flush(void)
}
#ifdef DEBUG
if (w > bitmap->Width() || h > bitmap->Height()) {
- esyslog(tr("softhddev: dirty area too big\n"));
+ esyslog(tr("[softhddev]: dirty area too big\n"));
abort();
}
#endif
@@ -742,7 +742,7 @@ static void HandleHotkey(int code)
CodecSetAudioPassthrough(ConfigAudioPassthrough ^= 1);
break;
default:
- esyslog(tr("softhddev: hot key %d is not supported\n"), code);
+ esyslog(tr("[softhddev]: hot key %d is not supported\n"), code);
break;
}
}
@@ -954,8 +954,8 @@ bool cSoftHdDevice::SetPlayMode(ePlayMode play_mode)
dsyslog("[softhddev] playmode not implemented... %d\n", play_mode);
break;
}
- ::SetPlayMode();
- return true;
+
+ return ::SetPlayMode(play_mode);
}
/**