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

Origin commit data
------------------
Branch: ni/coolstream
Commit: ff04c8ce97
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-07 (Tue, 07 Nov 2017)

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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-07 07:49:49 +01:00
parent 76e3ea4470
commit 88d5909c47
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_