1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 13:56:19 +00:00
Lakka-LibreELEC/packages/addons/addon-depends/vdr/patches/vdr-02-disable-logspam.patch
2020-11-01 20:18:38 +01:00

28 lines
845 B
Diff

remove logspam
ERROR: no OSD provider available - using dummy OSD!
--- a/osd.c
+++ b/osd.c
@@ -2029,8 +2029,6 @@ cOsd *cOsdProvider::NewOsd(int Left, int Top, uint Level)
}
return Osd;
}
- else
- esyslog("ERROR: no OSD provider available - using dummy OSD!");
return new cOsd(Left, Top, 999); // create a dummy cOsd, so that access won't result in a segfault
}
--- a/vdr.c
+++ b/vdr.c
@@ -784,11 +784,6 @@ int main(int argc, char *argv[])
Folders.Load(AddDirectory(ConfigDirectory, "folders.conf"));
CamResponsesLoad(AddDirectory(ConfigDirectory, "camresponses.conf"), true);
- if (!*cFont::GetFontFileName(Setup.FontOsd)) {
- const char *msg = "no fonts available - OSD will not show any text!";
- fprintf(stderr, "vdr: %s\n", msg);
- esyslog("ERROR: %s", msg);
- }
// Recordings: