summaryrefslogtreecommitdiff
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
parent06b8f773274ef5c3bf45fc51fc45519f3fc45154 (diff)
downloadvdr-plugin-softhddevice-8c347fdf1d36848bd54e51c7bb7371fe33673680.tar.gz
vdr-plugin-softhddevice-8c347fdf1d36848bd54e51c7bb7371fe33673680.tar.bz2
Fix bug: EnableDPMSatBlackScreen only available with USE_SCREENSAVER.
-rw-r--r--ChangeLog1
-rw-r--r--video.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 637fa4e..bc3670e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
User johns
Date:
+ Fix bug: EnableDPMSatBlackScreen only available with USE_SCREENSAVER.
- H264_EOS_TRICKSPEED and USE_MPEG_COMPLETE enabled as default.
User master_red
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
}
///