diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-11-03 11:30:41 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-11-03 13:08:07 +0100 |
commit | 7300fdf91c07932a1360a2cdc211d83867524684 (patch) | |
tree | 1c7256bca13f0e1830a2eef24a3e0f0904d1f8b8 /channelepg.c | |
parent | 89e9086943f394f189c270f26e36f394e695e051 (diff) | |
download | vdr-plugin-tvguide-7300fdf91c07932a1360a2cdc211d83867524684.tar.gz vdr-plugin-tvguide-7300fdf91c07932a1360a2cdc211d83867524684.tar.bz2 |
Workaround for HWAccelerated OSD
Diffstat (limited to 'channelepg.c')
-rw-r--r-- | channelepg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/channelepg.c b/channelepg.c index 37713e6..d915386 100644 --- a/channelepg.c +++ b/channelepg.c @@ -130,9 +130,11 @@ int cChannelEpg::getY() { return geoManager.statusHeaderHeight + geoManager.timeLineHeight + num*geoManager.rowHeight; } -cGridElement *cChannelEpg::getActive() { +cGridElement *cChannelEpg::getActive(bool last) { cTimeManager t; t.Now(); + if (last) + return grids.Last(); for (cGridElement *grid = grids.First(); grid; grid = grids.Next(grid)) { if (grid->Match(t.Get())) return grid; |