summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--osdbase.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/HISTORY b/HISTORY
index 12b704a9..ea3dfebc 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1996,3 +1996,5 @@ Video Disk Recorder Revision History
- The "Left" and "Right" buttons now set the cursor to the first or last list item
even if the list consist only of a single page, like, for instance, the Main menu
(thanks to Oliver Endriss).
+- Made the log message "OSD window width must be a multiple of 4..." a debug message
+ instead of an error message, so it can be avoided by using a log level less than 3.
diff --git a/osdbase.c b/osdbase.c
index e16b27b0..8093b96a 100644
--- a/osdbase.c
+++ b/osdbase.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osdbase.c 1.7 2002/08/25 10:02:36 kls Exp $
+ * $Id: osdbase.c 1.8 2003/03/23 15:53:29 kls Exp $
*/
#include "osdbase.h"
@@ -355,7 +355,7 @@ tWindowHandle cOsdBase::Create(int x, int y, int w, int h, int Bpp, bool ClearWi
if (x >= 0 && y >= 0 && w > 0 && h > 0 && (Bpp == 1 || Bpp == 2 || Bpp == 4 || Bpp == 8)) {
if ((w & 0x03) != 0) {
w += 4 - (w & 0x03);
- esyslog("ERROR: OSD window width must be a multiple of 4 - increasing to %d", w);
+ dsyslog("OSD window width must be a multiple of 4 - increasing to %d", w);
}
cWindow *win = new cWindow(numWindows, x, y, w, h, Bpp, ClearWithBackground, Tiled);
if (OpenWindow(win)) {
@@ -474,7 +474,7 @@ void cOsdBase::Relocate(tWindowHandle Window, int x, int y, int NewWidth, int Ne
if (NewWidth > 0 && NewHeight > 0) {
if ((NewWidth & 0x03) != 0) {
NewWidth += 4 - (NewWidth & 0x03);
- esyslog("ERROR: OSD window width must be a multiple of 4 - increasing to %d", NewWidth);
+ dsyslog("OSD window width must be a multiple of 4 - increasing to %d", NewWidth);
}
CloseWindow(w);
cWindow *NewWindow = new cWindow(w->Handle(), x, y, NewWidth, NewHeight, w->Bpp(), w->ClearWithBackground(), w->Tiled());