diff options
author | Thomas Reufer <thomas@reufer.ch> | 2015-05-22 19:18:13 +0200 |
---|---|---|
committer | Thomas Reufer <thomas@reufer.ch> | 2015-05-22 19:18:13 +0200 |
commit | 6c0e5cbe5fbe1f995e6e60b4c5f8843909efe67c (patch) | |
tree | 52123024de559cd3cf33e09223c024464e94707c | |
parent | 1129ef4d34d0bf4c6d0b74dd76094b7cc36aa151 (diff) | |
download | vdr-plugin-rpihddevice-6c0e5cbe5fbe1f995e6e60b4c5f8843909efe67c.tar.gz vdr-plugin-rpihddevice-6c0e5cbe5fbe1f995e6e60b4c5f8843909efe67c.tar.bz2 |
wait for the OVG thread to be ready when creating an accelerated OSD
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | ovgosd.c | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -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 @@ -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() { |