libeplayer3 optimizations

This commit is contained in:
martii
2013-07-29 18:35:48 +02:00
parent 88c0ce06cb
commit 5aa75077cd
8 changed files with 33 additions and 32 deletions

View File

@@ -430,6 +430,11 @@ bool cPlayback::GetSpeed(int &speed) const
return true;
}
void cPlayback::GetPts(uint64_t &pts)
{
player->playback->Command(player, PLAYBACK_PTS, (void*)pts);
}
// in milliseconds
bool cPlayback::GetPosition(int &position, int &duration)
{