mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 07:22:44 +02:00
fix/update hwcaps for hl101
Origin commit data
------------------
Branch: master
Commit: 2644bc3a78
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2018-09-27 (Thu, 27 Sep 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -379,7 +379,7 @@ int cVideo::setAspectRatio(int aspect, int mode)
|
|||||||
{
|
{
|
||||||
static const char *a[] = { "n/a", "4:3", "14:9", "16:9" };
|
static const char *a[] = { "n/a", "4:3", "14:9", "16:9" };
|
||||||
// static const char *m[] = { "panscan", "letterbox", "bestfit", "nonlinear", "(unset)" };
|
// static const char *m[] = { "panscan", "letterbox", "bestfit", "nonlinear", "(unset)" };
|
||||||
static const char *m[] = { "letterbox", "panscan", "bestfit", "nonlinear", "(unset)" };
|
static const char *m[] = { "letterbox", "panscan", "bestfit", "nonlinear", "(unset)" };
|
||||||
int n;
|
int n;
|
||||||
|
|
||||||
int mo = (mode < 0||mode > 3) ? 4 : mode;
|
int mo = (mode < 0||mode > 3) ? 4 : mode;
|
||||||
|
@@ -282,10 +282,14 @@ hw_caps_t *get_hwcaps(void)
|
|||||||
strcpy(caps.boxname, buf);
|
strcpy(caps.boxname, buf);
|
||||||
caps.can_shutdown = 1;
|
caps.can_shutdown = 1;
|
||||||
caps.has_HDMI = 1;
|
caps.has_HDMI = 1;
|
||||||
caps.has_SCART = 2;
|
caps.has_SCART = 1;
|
||||||
caps.can_cec = 0;
|
caps.has_SCART_input = 1;
|
||||||
|
caps.can_cec = 1;
|
||||||
caps.has_fan = 0;
|
caps.has_fan = 0;
|
||||||
caps.has_CI = 2;
|
caps.has_CI = 2;
|
||||||
|
caps.display_can_set_brightness = 1;
|
||||||
|
caps.display_type = HW_DISPLAY_LINE_TEXT;
|
||||||
|
caps.display_xres = 8;
|
||||||
}
|
}
|
||||||
else if (!strncmp(buf, "arivalink200", 12)) {
|
else if (!strncmp(buf, "arivalink200", 12)) {
|
||||||
strcpy(caps.boxvendor, "DUCKBOX");
|
strcpy(caps.boxvendor, "DUCKBOX");
|
||||||
|
@@ -678,7 +678,7 @@ static int ParseParams(int argc, char *argv[], PlayFiles_t *playbackFiles, int *
|
|||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
system("echo 'encoder' > /proc/stb/avs/0/input");
|
system("echo 'encoder' > /proc/stb/avs/0/input");
|
||||||
|
|
||||||
pthread_t termThread;
|
pthread_t termThread;
|
||||||
int isTermThreadStarted = 0;
|
int isTermThreadStarted = 0;
|
||||||
|
Reference in New Issue
Block a user