From 302b5354e3ade39ad676ec9ceb00aa785f1066fe 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 Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/f0cc9479cff2c92a1e93d4b77b63c2248e856caf Author: Stefan Seyfried Date: 2012-06-23 (Sat, 23 Jun 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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