Hallo,
bei mir gab es auch mit VDR 2.4.4 (in Verbindung mit dem Plugin "skinnopacity") Probleme wegen zu großer Pixmaps im OSD. Gab es einen Grund, die Pixmapgröße nur bei älteren VDR Versionen zu begrenzen? (#if APIVERSION >= 20301).
Gruß Sig
Die entsprechenden Zeilen in der Datei: ovgosd.c
Code
#if APIVERSNUM >= 20301
if (width > m_ovg->MaxImageSize().Width() ||
height > m_ovg->MaxImageSize().Height())
{
ELOG("[OpenVG] cannot allocate pixmap of %dpx x %dpx, "
"maximum size is %dpx x %dpx!", width, height,
m_ovg->MaxImageSize().Width(),
m_ovg->MaxImageSize().Height());
return NULL;
}
#else
if (width > m_ovg->MaxImageSize().Width() ||
height > m_ovg->MaxImageSize().Height())
{
ELOG("[OpenVG] cannot allocate pixmap of %dpx x %dpx, "
"clipped to %dpx x %dpx!", width, height,
std::min(width, m_ovg->MaxImageSize().Width()),
std::min(height, m_ovg->MaxImageSize().Height()));
width = std::min(width, m_ovg->MaxImageSize().Width());
height = std::min(height, m_ovg->MaxImageSize().Height());
}
#endif
Display More