mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 15:33:00 +02:00
fix some movieplayer issues
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