azbox: implement cVideo::getBlank

This commit is contained in:
Stefan Seyfried
2012-06-23 23:46:39 +02:00
parent 07ba8c9eb9
commit f0cc9479cf

View File

@@ -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