- streaminfo: fix compile for coolstream; add dummies to libcs-headers

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-11-07 07:49:49 +01:00
committed by Thilo Graf
parent b526dbf2c7
commit e411a7791c
3 changed files with 7 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ typedef struct {
#define MAX_PLAYBACK_PIDS 40
struct AVFormatContext;
class cPlayback {
private:
cPlaybackData * pd;
@@ -81,7 +82,8 @@ public:
bool SetTeletextPid(int /*pid*/){return true;}
int GetAPid(){return 0;}
void GetMetadata(std::vector<std::string> /*&keys*/, std::vector<std::string> /*&values*/){};
AVFormatContext *GetAVFormatContext(){ return NULL; }
void ReleaseAVFormatContext() {}
};
#endif // __PLAYBACK_CS_H_

View File

@@ -32,6 +32,7 @@ typedef struct {
#define MAX_PLAYBACK_PIDS 40
struct AVFormatContext;
class cPlayback {
private:
cPlaybackData * pd;
@@ -82,6 +83,8 @@ public:
bool SetTeletextPid(int /*pid*/){return true;}
int GetAPid(){return 0;}
void GetMetadata(std::vector<std::string> /*&keys*/, std::vector<std::string> /*&values*/){};
AVFormatContext *GetAVFormatContext(){ return NULL; }
void ReleaseAVFormatContext() {}
};
#endif // __PLAYBACK_CS_H_