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:
BPanther
2018-09-27 13:23:43 +02:00
committed by max_10
parent 466d9220a2
commit 490ecd582b
3 changed files with 8 additions and 4 deletions

View File

@@ -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 *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 mo = (mode < 0||mode > 3) ? 4 : mode;

View File

@@ -282,10 +282,14 @@ hw_caps_t *get_hwcaps(void)
strcpy(caps.boxname, buf);
caps.can_shutdown = 1;
caps.has_HDMI = 1;
caps.has_SCART = 2;
caps.can_cec = 0;
caps.has_SCART = 1;
caps.has_SCART_input = 1;
caps.can_cec = 1;
caps.has_fan = 0;
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)) {
strcpy(caps.boxvendor, "DUCKBOX");

View File

@@ -678,7 +678,7 @@ static int ParseParams(int argc, char *argv[], PlayFiles_t *playbackFiles, int *
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;
int isTermThreadStarted = 0;