libeplayer3/input: allow access to AVFormatContext

This commit is contained in:
martii
2014-05-29 21:57:38 +02:00
parent 9ac03e1046
commit 56ece5b5ea
6 changed files with 38 additions and 4 deletions

View File

@@ -114,6 +114,9 @@ class Player {
void RequestAbort();
bool GetChapters(std::vector<int> &positions, std::vector<std::string> &titles);
AVFormatContext *GetAVFormatContext() { return input.GetAVFormatContext(); }
void ReleaseAVFormatContext() { input.ReleaseAVFormatContext(); }
Player();
};
#endif