summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--ovgosd.c6
2 files changed, 6 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index d638dde..df2c928 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2,6 +2,7 @@ VDR Plugin 'rpihddevice' Revision History
-----------------------------------------
- fixed:
+ - wait for the OVG thread to be ready when creating an accelerated OSD
- set field sync when output interlaced material at interlaced display mode
2015-04-29: Version 0.1.0
diff --git a/ovgosd.c b/ovgosd.c
index c9963e5..cbfb391 100644
--- a/ovgosd.c
+++ b/ovgosd.c
@@ -2267,7 +2267,11 @@ public:
m_ovg(ovg),
m_surface(new cOvgRenderTarget()),
m_savedRegion(new cOvgSavedRegion())
- { }
+ {
+ cTimeMs timer(10000);
+ while (!m_ovg->MaxImageSize().Height() && !timer.TimedOut())
+ cCondWait::SleepMs(100);
+ }
virtual ~cOvgOsd()
{