mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
fix some movieplayer issues
Origin commit data
------------------
Branch: master
Commit: d6bdeb0ff0
Author: martii <you@example.com>
Date: 2012-07-27 (Fri, 27 Jul 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -414,7 +414,11 @@ bool cPlayback::SetPosition(int position, bool absolute)
|
||||
}
|
||||
float pos = (position/1000.0);
|
||||
if(player && player->playback)
|
||||
#ifdef MARTII
|
||||
player->playback->Command(player, absolute ? PLAYBACK_SEEK_ABS : PLAYBACK_SEEK, (void*)&pos);
|
||||
#else
|
||||
player->playback->Command(player, PLAYBACK_SEEK, (void*)&pos);
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user