libeplayer3/input: allow access to AVFormatContext

This commit is contained in:
martii
2014-05-29 21:57:38 +02:00
parent 23d912c034
commit 4e2ff2ce6d
4 changed files with 23 additions and 4 deletions

View File

@@ -47,6 +47,8 @@ class Input
friend int interrupt_cb(void *arg);
private:
OpenThreads::Mutex mutex;
Track *videoTrack;
Track *audioTrack;
Track *subtitleTrack;
@@ -81,6 +83,8 @@ class Input
bool SwitchVideo(Track *track);
bool GetMetadata(std::vector<std::string> &keys, std::vector<std::string> &values);
bool GetReadCount(uint64_t &readcount);
AVFormatContext *GetAVFormatContext();
void ReleaseAVFormatContext();
};
#endif