add dumb functions for streaminfo2 compil

This commit is contained in:
Jacek Jendrzej
2017-12-13 17:26:57 +01:00
parent 2673ba0940
commit 8d6b3f71c0

View File

@@ -22,6 +22,10 @@
#include <stdint.h> #include <stdint.h>
#include <vector> #include <vector>
extern "C" {
#include <libavformat/avformat.h>
}
/* /*
* This is actually the max number that could be returned by * This is actually the max number that could be returned by
* FindAllPids() / FindAllSubs(). * FindAllPids() / FindAllSubs().
@@ -65,6 +69,9 @@ public:
void GetMetadata(std::vector<std::string> /*&keys*/, std::vector<std::string> /*&values*/){} void GetMetadata(std::vector<std::string> /*&keys*/, std::vector<std::string> /*&values*/){}
void GetPts(uint64_t &/*pts*/){} void GetPts(uint64_t &/*pts*/){}
bool SetSubtitlePid(int /*pid*/){return false;} bool SetSubtitlePid(int /*pid*/){return false;}
AVFormatContext *GetAVFormatContext(){return NULL;}
void ReleaseAVFormatContext(){}
// //
cPlayback(int num = 0); cPlayback(int num = 0);
~cPlayback(); ~cPlayback();