hw_caps: add caps for 14:9 AR and broken tuner driver

This commit is contained in:
Stefan Seyfried
2017-03-04 20:28:21 +01:00
parent 3bcdbb39ff
commit 3a7a202818
2 changed files with 9 additions and 0 deletions

View File

@@ -29,6 +29,9 @@ hw_caps_t *get_hwcaps(void) {
caps.display_xres = 12;
caps.display_yres = 0;
caps.can_set_display_brightness = 1;
caps.can_ar_14_9 = 1;
caps.can_ps_14_9 = 1;
caps.force_tuner_2G = 0;
strcpy(caps.boxvendor, "Coolstream");
/* list of boxnames from neutrinoyparser.cpp */
strcpy(caps.boxarch, "Nevis");
@@ -36,9 +39,11 @@ hw_caps_t *get_hwcaps(void) {
case 6:
case 7: // Black Stallion Edition
strcpy(caps.boxname, "HD1");
caps.force_tuner_2G = 1;
break;
case 8:
strcpy(caps.boxname, "Neo");
caps.force_tuner_2G = 1;
break;
case 9:
strcpy(caps.boxname, "Tank");
@@ -46,6 +51,7 @@ hw_caps_t *get_hwcaps(void) {
break;
case 10:
strcpy(caps.boxname, "Zee");
caps.force_tuner_2G = 1;
break;
case 11:
strcpy(caps.boxname, "Trinity");

View File

@@ -27,6 +27,9 @@ 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;