mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
libeplayer3: use uint64_t instead of float/double for position calculations
Origin commit data
------------------
Branch: master
Commit: 8ccf1ba33b
Author: martii <m4rtii@gmx.de>
Date: 2014-04-14 (Mon, 14 Apr 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -309,7 +309,7 @@ bool Player::SlowMotion(int repeats)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Player::Seek(float pos, bool absolute)
|
||||
bool Player::Seek(int64_t pos, bool absolute)
|
||||
{
|
||||
output.Clear();
|
||||
return input.Seek(pos, absolute);
|
||||
@@ -326,7 +326,7 @@ bool Player::GetFrameCount(int64_t &frameCount)
|
||||
return isPlaying && output.GetFrameCount(frameCount);
|
||||
}
|
||||
|
||||
bool Player::GetDuration(double &duration)
|
||||
bool Player::GetDuration(int64_t &duration)
|
||||
{
|
||||
duration = -1;
|
||||
return isPlaying && input.GetDuration(duration);
|
||||
|
Reference in New Issue
Block a user