mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
- libcoolstream-headers: remove obsolete dummy members
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -31,7 +31,6 @@ typedef struct {
|
|||||||
|
|
||||||
#define MAX_PLAYBACK_PIDS 40
|
#define MAX_PLAYBACK_PIDS 40
|
||||||
|
|
||||||
struct AVFormatContext;
|
|
||||||
class cPlayback {
|
class cPlayback {
|
||||||
private:
|
private:
|
||||||
cPlaybackData * pd;
|
cPlaybackData * pd;
|
||||||
@@ -68,7 +67,6 @@ public:
|
|||||||
bool IsEnabled(void) const { return enabled; }
|
bool IsEnabled(void) const { return enabled; }
|
||||||
void FindAllPids(playback_audio_pid_info_t *audiopids, uint16_t size, uint16_t *numpida);
|
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, 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);
|
void FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language);
|
||||||
bool SelectSubtitles(int pid, std::string charset = "");
|
bool SelectSubtitles(int pid, std::string charset = "");
|
||||||
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
||||||
@@ -76,14 +74,9 @@ public:
|
|||||||
void GetTitles(std::vector<int> &playlists, std::vector<std::string> &titles, int ¤t);
|
void GetTitles(std::vector<int> &playlists, std::vector<std::string> &titles, int ¤t);
|
||||||
void SetTitle(int title);
|
void SetTitle(int title);
|
||||||
uint64_t GetReadCount(void);
|
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;}
|
/* dummies for compatibility with libstb-hal */
|
||||||
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*/){};
|
void GetMetadata(std::vector<std::string> /*&keys*/, std::vector<std::string> /*&values*/){};
|
||||||
AVFormatContext *GetAVFormatContext(){ return NULL; }
|
|
||||||
void ReleaseAVFormatContext() {}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __PLAYBACK_CS_H_
|
#endif // __PLAYBACK_CS_H_
|
||||||
|
@@ -32,7 +32,6 @@ typedef struct {
|
|||||||
|
|
||||||
#define MAX_PLAYBACK_PIDS 40
|
#define MAX_PLAYBACK_PIDS 40
|
||||||
|
|
||||||
struct AVFormatContext;
|
|
||||||
class cPlayback {
|
class cPlayback {
|
||||||
private:
|
private:
|
||||||
cPlaybackData * pd;
|
cPlaybackData * pd;
|
||||||
@@ -69,7 +68,6 @@ public:
|
|||||||
bool IsEnabled(void) const { return enabled; }
|
bool IsEnabled(void) const { return enabled; }
|
||||||
void FindAllPids(playback_audio_pid_info_t *audiopids, uint16_t size, uint16_t *numpida);
|
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, 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);
|
void FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language);
|
||||||
bool SelectSubtitles(int pid, std::string charset = "");
|
bool SelectSubtitles(int pid, std::string charset = "");
|
||||||
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
void GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
|
||||||
@@ -77,14 +75,9 @@ public:
|
|||||||
void GetTitles(std::vector<int> &playlists, std::vector<std::string> &titles, int ¤t);
|
void GetTitles(std::vector<int> &playlists, std::vector<std::string> &titles, int ¤t);
|
||||||
void SetTitle(int title);
|
void SetTitle(int title);
|
||||||
uint64_t GetReadCount(void);
|
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;}
|
/* dummies for compatibility with libstb-hal */
|
||||||
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*/){};
|
void GetMetadata(std::vector<std::string> /*&keys*/, std::vector<std::string> /*&values*/){};
|
||||||
AVFormatContext *GetAVFormatContext(){ return NULL; }
|
|
||||||
void ReleaseAVFormatContext() {}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __PLAYBACK_CS_H_
|
#endif // __PLAYBACK_CS_H_
|
||||||
|
Reference in New Issue
Block a user