azbox: implement cVideo::getBlank

Origin commit data
------------------
Branch: master
Commit: f0cc9479cf
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-06-23 (Sat, 23 Jun 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-06-23 23:46:39 +02:00
parent d2b6b3fc25
commit 302b5354e3

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