From f0cc9479cff2c92a1e93d4b77b63c2248e856caf Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 23 Jun 2012 23:46:39 +0200 Subject: [PATCH] azbox: implement cVideo::getBlank --- azbox/video.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/azbox/video.cpp b/azbox/video.cpp index a458f66..da46b55 100644 --- a/azbox/video.cpp +++ b/azbox/video.cpp @@ -457,8 +457,9 @@ void cVideo::Standby(unsigned int bOn) int cVideo::getBlank(void) { - lt_debug("%s\n", __FUNCTION__); - return 0; + int ret = proc_get_hex("/proc/stb/vmpeg/0/xres"); + lt_debug("%s => %d\n", __func__, !ret); + return !ret; } /* this function is regularly called, checks if video parameters