diff --git a/Engine/media/video/videoplayer.cpp b/Engine/media/video/videoplayer.cpp index f0e562befad..0cfc8a7ad35 100644 --- a/Engine/media/video/videoplayer.cpp +++ b/Engine/media/video/videoplayer.cpp @@ -156,14 +156,20 @@ void VideoPlayer::Pause() float VideoPlayer::Seek(float pos_ms) { - // TODO - return -1.f; + if ((pos_ms == 0.f) && RewindImpl()) + { + return 0.f; + } + return -1.f; // TODO } uint32_t VideoPlayer::SeekFrame(uint32_t frame) { - // TODO - return UINT32_MAX; + if ((frame == 0) && RewindImpl()) + { + return 0u; + } + return UINT32_MAX; // TODO } bool VideoPlayer::NextFrame()