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

@@ -362,3 +362,12 @@ int cPlayback::GetTeletextPid(void)
{
return player->GetTeletextPid();
}
AVFormatContext *cPlayback::GetAVFormatContext()
{
return player ? player->GetAVFormatContext() : NULL;
}
void cPlayback::ReleaseAVFormatContext() { if (player)
player->ReleaseAVFormatContext();
}