mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
introduce can_pip
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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");
|
||||
|
@@ -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 */
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user