mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
Fix VP9 playback for the Octagon SF4008
Origin commit data
------------------
Branch: master
Commit: b6019d4f65
Author: samsamsam <samsamsam@o2.pl>
Date: 2019-02-02 (Sat, 02 Feb 2019)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -699,7 +699,7 @@ int main(int argc, char *argv[])
|
|||||||
memset(argvBuff, '\0', sizeof(argvBuff));
|
memset(argvBuff, '\0', sizeof(argvBuff));
|
||||||
int commandRetVal = -1;
|
int commandRetVal = -1;
|
||||||
/* inform client that we can handle additional commands */
|
/* 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;
|
PlayFiles_t playbackFiles;
|
||||||
memset(&playbackFiles, 0x00, sizeof(playbackFiles));
|
memset(&playbackFiles, 0x00, sizeof(playbackFiles));
|
||||||
|
@@ -137,8 +137,12 @@ stb_type_t GetSTBType()
|
|||||||
{
|
{
|
||||||
type = STB_DREAMBOX;
|
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;
|
type = STB_VUPLUS;
|
||||||
}
|
}
|
||||||
else if (access("/sys/firmware/devicetree/base/soc/hisilicon_clock/name", F_OK) != -1)
|
else if (access("/sys/firmware/devicetree/base/soc/hisilicon_clock/name", F_OK) != -1)
|
||||||
|
Reference in New Issue
Block a user