mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +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
|
||||
|
||||
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_
|
||||
|
@@ -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_
|
||||
|
@@ -279,6 +279,7 @@ void CStreamInfo2::probeStreams()
|
||||
{
|
||||
if (mp)
|
||||
{
|
||||
// not yet implemented in libcoolstream
|
||||
AVFormatContext *avfc = mp->getPlayback()->GetAVFormatContext();
|
||||
if (avfc)
|
||||
{
|
||||
|
Reference in New Issue
Block a user