introduce can_pip

This commit is contained in:
TangoCash
2021-05-29 20:49:47 +02:00
committed by Thilo Graf
parent a657b25e4e
commit 94909d2085
6 changed files with 16 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ typedef struct hw_caps
int has_SCART;
int has_SCART_input;
int has_YUV_cinch;
int can_pip;
int can_cpufreq;
int can_shutdown;
int can_cec;

View File

@@ -29,6 +29,9 @@ hw_caps_t *get_hwcaps(void)
memset(&caps, 0, sizeof(hw_caps_t));
if (access("/dev/dvb/adapter0/video1", F_OK) != -1)
caps.can_pip = 1;
#if BOXMODEL_VUSOLO4K
initialized = 1;
caps.has_CI = 1;

View File

@@ -26,6 +26,9 @@ hw_caps_t *get_hwcaps(void)
memset(&caps, 0, sizeof(hw_caps_t));
if (access("/dev/dvb/adapter0/video1", F_OK) != -1)
caps.can_pip = 1;
#if BOXMODEL_UFS910
initialized = 1;
strcpy(caps.boxvendor, "KATHREIN");

View File

@@ -27,6 +27,9 @@ hw_caps_t *get_hwcaps(void)
memset(&caps, 0, sizeof(hw_caps_t));
if (access("/dev/dvb/adapter0/video1", F_OK) != -1)
caps.can_pip = 1;
initialized = 1;
caps.can_cpufreq = 0;
caps.can_shutdown = 1; /* for testing */

View File

@@ -29,6 +29,9 @@ hw_caps_t *get_hwcaps(void)
memset(&caps, 0, sizeof(hw_caps_t));
if (access("/dev/dvb/adapter0/video1", F_OK) != -1)
caps.can_pip = 1;
#if BOXMODEL_VUDUO
initialized = 1;
caps.has_CI = 2;

View File

@@ -29,6 +29,9 @@ hw_caps_t *get_hwcaps(void)
memset(&caps, 0, sizeof(hw_caps_t));
if (access("/dev/dvb/adapter0/video1", F_OK) != -1)
caps.can_pip = 1;
initialized = 1;
caps.has_CI = 0;
caps.can_cec = 1;