mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Conflicts:
acinclude.m4
configure.ac
data/fonts/Makefile.am
data/locale/deutsch.locale
data/locale/english.locale
data/webtv/Makefile.am
data/y-web/Y_Tools_Boxcontrol.yhtm
data/y-web/Y_Tools_Screenshot.yhtm
lib/hardware/coolstream/hardware_caps.h
lib/libtuxtxt/tuxtxt_common.h
src/gui/audioplayer.cpp
src/gui/infoviewer_bb.cpp
src/gui/movieplayer.cpp
src/gui/movieplayer.h
src/gui/network_setup.cpp
src/gui/widget/menue.cpp
Origin commit data
------------------
Commit: ae4307bc1c
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-02 (Thu, 02 Nov 2017)
This commit is contained in:
@@ -33,6 +33,7 @@ typedef struct hw_caps
|
||||
display_type_t display_type;
|
||||
int display_xres; /* x resolution or chars per line */
|
||||
int display_yres;
|
||||
int display_can_deepstandby;
|
||||
int display_can_set_brightness;
|
||||
char boxvendor[64];
|
||||
char boxname[64];
|
||||
|
@@ -57,6 +57,7 @@ public:
|
||||
bool Start(std::string filename, std::string headers = "");
|
||||
bool Stop(void);
|
||||
bool SetAPid(unsigned short pid, int audio_flag);
|
||||
bool SetSubtitlePid(int /*pid*/){return true;}
|
||||
bool SetSpeed(int speed);
|
||||
bool GetSpeed(int &speed) const;
|
||||
bool GetPosition(int &position, int &duration);
|
||||
@@ -66,6 +67,7 @@ public:
|
||||
bool IsEnabled(void) const { return enabled; }
|
||||
void FindAllPids(playback_audio_pid_info_t *audiopids, uint16_t size, uint16_t *numpida);
|
||||
void FindAllPids(uint16_t *apids, unsigned short *ac3flags, uint16_t *numpida, std::string *language);
|
||||
void FindAllPids(uint16_t *apids, unsigned short *ac3flags, uint32_t *numpida, std::string *language){FindAllPids(apids, ac3flags, (uint16_t*) numpida, language);}
|
||||
void FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language);
|
||||
bool SelectSubtitles(int pid, std::string charset = "");
|
||||
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
||||
@@ -73,6 +75,13 @@ public:
|
||||
void GetTitles(std::vector<int> &playlists, std::vector<std::string> &titles, int ¤t);
|
||||
void SetTitle(int title);
|
||||
uint64_t GetReadCount(void);
|
||||
void FindAllTeletextsubtitlePids(int *, unsigned int *numpids, std::string *, int *, int *){*numpids = 0;}
|
||||
void FindAllSubtitlePids(int * /*pids*/, unsigned int *numpids, std::string * /*language*/){*numpids = 0;}
|
||||
int GetSubtitlePid(void){return 0;}
|
||||
bool SetTeletextPid(int /*pid*/){return true;}
|
||||
int GetAPid(){return 0;}
|
||||
void GetMetadata(std::vector<std::string> /*&keys*/, std::vector<std::string> /*&values*/){};
|
||||
|
||||
};
|
||||
|
||||
#endif // __PLAYBACK_CS_H_
|
||||
|
@@ -58,6 +58,7 @@ public:
|
||||
bool Start(std::string filename, std::string headers = "");
|
||||
bool Stop(void);
|
||||
bool SetAPid(unsigned short pid, int audio_flag);
|
||||
bool SetSubtitlePid(int /*pid*/){return true;}
|
||||
bool SetSpeed(int speed);
|
||||
bool GetSpeed(int &speed) const;
|
||||
bool GetPosition(int &position, int &duration);
|
||||
@@ -67,6 +68,7 @@ public:
|
||||
bool IsEnabled(void) const { return enabled; }
|
||||
void FindAllPids(playback_audio_pid_info_t *audiopids, uint16_t size, uint16_t *numpida);
|
||||
void FindAllPids(uint16_t *apids, unsigned short *ac3flags, uint16_t *numpida, std::string *language);
|
||||
void FindAllPids(uint16_t *apids, unsigned short *ac3flags, uint32_t *numpida, std::string *language){FindAllPids(apids, ac3flags, (uint16_t*) numpida, language);}
|
||||
void FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language);
|
||||
bool SelectSubtitles(int pid, std::string charset = "");
|
||||
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
||||
@@ -74,6 +76,12 @@ public:
|
||||
void GetTitles(std::vector<int> &playlists, std::vector<std::string> &titles, int ¤t);
|
||||
void SetTitle(int title);
|
||||
uint64_t GetReadCount(void);
|
||||
void FindAllTeletextsubtitlePids(int *, unsigned int *numpids, std::string *, int *, int *){*numpids = 0;}
|
||||
void FindAllSubtitlePids(int * /*pids*/, unsigned int *numpids, std::string * /*language*/){*numpids = 0;}
|
||||
int GetSubtitlePid(void){return 0;}
|
||||
bool SetTeletextPid(int /*pid*/){return true;}
|
||||
int GetAPid(){return 0;}
|
||||
void GetMetadata(std::vector<std::string> /*&keys*/, std::vector<std::string> /*&values*/){};
|
||||
};
|
||||
|
||||
#endif // __PLAYBACK_CS_H_
|
||||
|
@@ -605,7 +605,7 @@ void *tuxtxt_CacheThread(void * /*arg*/)
|
||||
continue;
|
||||
|
||||
/* read packet */
|
||||
ssize_t readcnt = 0; //NI
|
||||
ssize_t readcnt = 0;
|
||||
|
||||
readcnt = dmx->Read(pes_packet, sizeof (pes_packet), 1000);
|
||||
//if (readcnt != sizeof(pes_packet))
|
||||
|
Reference in New Issue
Block a user