diff --git a/modules/video/src/videoplayer.cpp b/modules/video/src/videoplayer.cpp index 3cdd869984..aaeef6cd01 100644 --- a/modules/video/src/videoplayer.cpp +++ b/modules/video/src/videoplayer.cpp @@ -311,7 +311,7 @@ void VideoPlayer::seekToTime(double time) { bool seekIsDifferent = abs(time - _currentVideoTime) > _seekThreshold; if (seekIsDifferent && !_isSeeking) { // Pause while seeking - //pause(); + pause(); std::string timeString = std::to_string(time); const char* params = timeString.c_str(); const char* cmd[] = { "seek", params, "absolute", NULL }; diff --git a/modules/video/src/videotileprovider.cpp b/modules/video/src/videotileprovider.cpp index 37acc23b3b..dbd07894df 100644 --- a/modules/video/src/videotileprovider.cpp +++ b/modules/video/src/videotileprovider.cpp @@ -186,9 +186,6 @@ Tile VideoTileProvider::tile(const TileIndex& tileIndex) { LINFO("Framebuffer is not complete"); } - - return Tile{ _videoPlayer.frameTexture().get(), std::nullopt, Tile::Status::OK }; - /* // For now, don't use the cache as we're trying to debug the problem w playback uint64_t hash = tileIndex.hashKey(); auto foundTile = _tileCache.find(hash); @@ -203,7 +200,7 @@ Tile VideoTileProvider::tile(const TileIndex& tileIndex) { }; } - return _tileCache[hash];*/ + return _tileCache[hash]; } Tile::Status VideoTileProvider::tileStatus(const TileIndex& tileIndex) {