summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2015-08-26 10:11:49 +0200
committerJohns <johns98@gmx.net>2015-08-26 10:11:49 +0200
commit8c347fdf1d36848bd54e51c7bb7371fe33673680 (patch)
tree8ff738364b23124a9b22517182b5224a85240fb7 /video.c
parent06b8f773274ef5c3bf45fc51fc45519f3fc45154 (diff)
downloadvdr-plugin-softhddevice-8c347fdf1d36848bd54e51c7bb7371fe33673680.tar.gz
vdr-plugin-softhddevice-8c347fdf1d36848bd54e51c7bb7371fe33673680.tar.bz2
Fix bug: EnableDPMSatBlackScreen only available with USE_SCREENSAVER.
Diffstat (limited to 'video.c')
-rw-r--r--video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video.c b/video.c
index d7a7d36..3a76f08 100644
--- a/video.c
+++ b/video.c
@@ -11346,7 +11346,9 @@ void VideoSetAutoCrop(int interval, int delay, int tolerance)
///
void SetDPMSatBlackScreen(int enable)
{
+#ifdef USE_SCREENSAVER
EnableDPMSatBlackScreen = enable;
+#endif
}
///