diff options
| author | Thomas Reufer <thomas@reufer.ch> | 2016-03-02 13:14:39 +0100 |
|---|---|---|
| committer | Thomas Reufer <thomas@reufer.ch> | 2016-03-02 13:14:39 +0100 |
| commit | 07bf1738c6409c566cabb913f910dd248213654a (patch) | |
| tree | a3de3cb7ebc50477139256afb6154b6db148ba77 | |
| parent | 47a818b11cab22e0c655a45688917b2075a5d74e (diff) | |
| download | vdr-plugin-rpihddevice-07bf1738c6409c566cabb913f910dd248213654a.tar.gz vdr-plugin-rpihddevice-07bf1738c6409c566cabb913f910dd248213654a.tar.bz2 | |
only cache images in GPU when high level OSD is active
| -rw-r--r-- | HISTORY | 1 | ||||
| -rw-r--r-- | ovgosd.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -5,6 +5,7 @@ VDR Plugin 'rpihddevice' Revision History - set device name - add option for dual display usage, see README - fixed: + - only cache images in GPU when high level OSD is active - added proper GPL header to every source file (suggested by Tobias Grimm) - wait until dispmanx element is removed after OSD reset - proper release default surface after OSD reset @@ -2744,7 +2744,7 @@ cOsd *cRpiOsdProvider::CreateOsd(int Left, int Top, uint Level) int cRpiOsdProvider::StoreImageData(const cImage &Image) { - int id = m_ovg->StoreImageData(Image); + int id = cRpiSetup::IsHighLevelOsd() ? m_ovg->StoreImageData(Image) : 0; return id ? id : cOsdProvider::StoreImageData(Image); } |
