OSD: mask to disable and hide menu items.

This commit is contained in:
sorgelig
2019-05-13 01:03:57 +08:00
parent 4c2f3c9622
commit 518535721a
3 changed files with 221 additions and 178 deletions

View File

@@ -314,8 +314,12 @@ static void parse_config()
{
OsdCoreNameSet(p);
}
if (i>=2 && p && p[0])
{
//skip Disable/Hide masks
while((p[0] == 'H' || p[0] == 'D') && strlen(p)>=2) p += 2;
if (p[0] == 'J')
{
int n = 1;