summaryrefslogtreecommitdiff
path: root/softhddevice.cpp
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-01-07 23:47:07 +0100
committerJohns <johns98@gmx.net>2012-01-07 23:47:07 +0100
commit9568c5bd93a5d3056ba258fc90ed8cc0520b9243 (patch)
treee7a0b62eed2bfc66197c74b937de480e1460e2ce /softhddevice.cpp
parentfd60c3c1325f8254276b70a91eba8d28402a4ddb (diff)
downloadvdr-plugin-softhddevice-9568c5bd93a5d3056ba258fc90ed8cc0520b9243.tar.gz
vdr-plugin-softhddevice-9568c5bd93a5d3056ba258fc90ed8cc0520b9243.tar.bz2
Fix build with vdr without yaepg support.
Diffstat (limited to 'softhddevice.cpp')
-rw-r--r--softhddevice.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/softhddevice.cpp b/softhddevice.cpp
index 2ec1a6c..19f2c9f 100644
--- a/softhddevice.cpp
+++ b/softhddevice.cpp
@@ -135,9 +135,11 @@ cSoftOsd::~cSoftOsd(void)
//dsyslog("[softhddev]%s:\n", __FUNCTION__);
SetActive(false);
+#ifdef USE_YAEPG
if (vidWin.bpp) {
VideoSetOutputPosition(0, 0, 1920, 1080);
}
+#endif
OsdClose();
}
@@ -153,6 +155,7 @@ void cSoftOsd::Flush(void)
}
// support yaepghd, video window
+#ifdef USE_YAEPG
if (vidWin.bpp) {
dsyslog("[softhddev]%s: %dx%d+%d+%d\n", __FUNCTION__,
vidWin.Width(), vidWin.Height(), vidWin.x1, vidWin.y2 );
@@ -161,6 +164,7 @@ void cSoftOsd::Flush(void)
VideoSetOutputPosition(Left() + vidWin.x1, Top() + vidWin.y1,
vidWin.Width(), vidWin.Height());
}
+#endif
if (!IsTrueColor()) {
static char warned;