summaryrefslogtreecommitdiff
path: root/channelepg.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-11-03 11:30:41 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-11-03 13:08:07 +0100
commit7300fdf91c07932a1360a2cdc211d83867524684 (patch)
tree1c7256bca13f0e1830a2eef24a3e0f0904d1f8b8 /channelepg.c
parent89e9086943f394f189c270f26e36f394e695e051 (diff)
downloadvdr-plugin-tvguide-7300fdf91c07932a1360a2cdc211d83867524684.tar.gz
vdr-plugin-tvguide-7300fdf91c07932a1360a2cdc211d83867524684.tar.bz2
Workaround for HWAccelerated OSD
Diffstat (limited to 'channelepg.c')
-rw-r--r--channelepg.c4
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;