mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 15:33:00 +02:00
Fix VP9 playback for the Octagon SF4008
This commit is contained in:
@@ -698,7 +698,7 @@ int main(int argc, char *argv[])
|
||||
memset(argvBuff, '\0', sizeof(argvBuff));
|
||||
int commandRetVal = -1;
|
||||
/* inform client that we can handle additional commands */
|
||||
fprintf(stderr, "{\"EPLAYER3_EXTENDED\":{\"version\":%d}}\n", 52);
|
||||
fprintf(stderr, "{\"EPLAYER3_EXTENDED\":{\"version\":%d}}\n", 53);
|
||||
|
||||
PlayFiles_t playbackFiles;
|
||||
memset(&playbackFiles, 0x00, sizeof(playbackFiles));
|
||||
|
@@ -137,8 +137,12 @@ stb_type_t GetSTBType()
|
||||
{
|
||||
type = STB_DREAMBOX;
|
||||
}
|
||||
else if (access("/proc/stb/info/vumodel", F_OK) != -1)
|
||||
else if (access("/proc/stb/info/vumodel", F_OK) != -1 && \
|
||||
access("/proc/stb/info/boxtype", F_OK) == -1)
|
||||
{
|
||||
// some STB like Octagon SF4008 has also /proc/stb/info/vumodel
|
||||
// but VU PLUS does not have /proc/stb/info/boxtype
|
||||
// please see: https://gitlab.com/e2i/e2iplayer/issues/282
|
||||
type = STB_VUPLUS;
|
||||
}
|
||||
else if (access("/sys/firmware/devicetree/base/soc/hisilicon_clock/name", F_OK) != -1)
|
||||
|
Reference in New Issue
Block a user