mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
hw_caps: add caps for 14:9 AR and broken tuner driver
This commit is contained in:
@@ -30,6 +30,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;
|
||||
|
@@ -37,6 +37,7 @@ hw_caps_t *get_hwcaps(void)
|
||||
caps.has_HDMI = 1;
|
||||
caps.has_SCART = 1;
|
||||
caps.display_xres = 4;
|
||||
caps.force_tuner_2G = 1; /* I have patched the drivers to fix this, but not everyone has */
|
||||
strcpy(caps.boxvendor, "SPARK");
|
||||
const char *tmp;
|
||||
char buf[1024];
|
||||
|
@@ -17,6 +17,10 @@ static hw_caps_t caps = {
|
||||
.has_YUV_cinch = 0,
|
||||
.can_shutdown = 0,
|
||||
.can_cec = 0,
|
||||
.can_ar_14_9 = 0,
|
||||
.can_ps_14_9 = 1,
|
||||
.can_set_display_brightness = 0,
|
||||
.force_tuner_2G = 0,
|
||||
.display_type = HW_DISPLAY_GFX,
|
||||
.display_xres = 128,
|
||||
.display_yres = 64,
|
||||
|
Reference in New Issue
Block a user