libeplayer3 optimizations

This commit is contained in:
martii
2013-07-29 18:35:48 +02:00
committed by Stefan Seyfried
parent aa5f59c5e6
commit 95d724ced0
5 changed files with 27 additions and 32 deletions

View File

@@ -355,6 +355,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)
{