adopt hw_caps

Origin commit data
------------------
Branch: master
Commit: ae3cc86f0b
Author: TangoCash <eric@loxat.de>
Date: 2017-03-10 (Fri, 10 Mar 2017)


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

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2017-03-10 21:38:31 +01:00
parent 24ed2fbcc0
commit 4f93491523
3 changed files with 7 additions and 0 deletions

View File

@@ -30,11 +30,16 @@ typedef struct hw_caps
int has_YUV_cinch;
int can_shutdown;
int can_cec;
int can_ar_14_9; /* video drivers have 14:9 aspect ratio mode */
int can_ps_14_9; /* video drivers have 14:9 panscan mode */
int force_tuner_2G; /* force DVB-S2 even though driver may not advertise it */
display_type_t display_type;
int display_xres; /* x resolution or chars per line */
int display_yres;
int can_set_display_brightness;
char boxvendor[64];
char boxname[64];
char boxarch[64];
int boxtype;
int has_CI;
} hw_caps_t;

View File

@@ -283,5 +283,6 @@ hw_caps_t *get_hwcaps(void)
else
strcpy(caps.boxname, "(unknown model)");
strcpy(caps.boxarch,caps.boxname);
return &caps;
}

View File

@@ -155,5 +155,6 @@ hw_caps_t *get_hwcaps(void)
tmp = "(NO STB_ID FOUND)";
strcpy(caps.boxname, tmp);
}
strcpy(caps.boxarch,caps.boxname);
return &caps;
}