mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
- streaminfo: fix compile for coolstream; add dummies to libcs-headers
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -31,6 +31,7 @@ typedef struct {
|
|||||||
|
|
||||||
#define MAX_PLAYBACK_PIDS 40
|
#define MAX_PLAYBACK_PIDS 40
|
||||||
|
|
||||||
|
struct AVFormatContext;
|
||||||
class cPlayback {
|
class cPlayback {
|
||||||
private:
|
private:
|
||||||
cPlaybackData * pd;
|
cPlaybackData * pd;
|
||||||
@@ -81,7 +82,8 @@ public:
|
|||||||
bool SetTeletextPid(int /*pid*/){return true;}
|
bool SetTeletextPid(int /*pid*/){return true;}
|
||||||
int GetAPid(){return 0;}
|
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,6 +32,7 @@ typedef struct {
|
|||||||
|
|
||||||
#define MAX_PLAYBACK_PIDS 40
|
#define MAX_PLAYBACK_PIDS 40
|
||||||
|
|
||||||
|
struct AVFormatContext;
|
||||||
class cPlayback {
|
class cPlayback {
|
||||||
private:
|
private:
|
||||||
cPlaybackData * pd;
|
cPlaybackData * pd;
|
||||||
@@ -82,6 +83,8 @@ public:
|
|||||||
bool SetTeletextPid(int /*pid*/){return true;}
|
bool SetTeletextPid(int /*pid*/){return true;}
|
||||||
int GetAPid(){return 0;}
|
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_
|
||||||
|
@@ -279,6 +279,7 @@ void CStreamInfo2::probeStreams()
|
|||||||
{
|
{
|
||||||
if (mp)
|
if (mp)
|
||||||
{
|
{
|
||||||
|
// not yet implemented in libcoolstream
|
||||||
AVFormatContext *avfc = mp->getPlayback()->GetAVFormatContext();
|
AVFormatContext *avfc = mp->getPlayback()->GetAVFormatContext();
|
||||||
if (avfc)
|
if (avfc)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user