Skip to content

Commit

Permalink
Fixed NDIRead to use io::getCacheKey().
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Feb 20, 2024
1 parent 840cc7b commit a0ccf61
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/tlIO/NDIRead.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,8 @@ namespace tl
io::VideoData videoData;
if (videoRequest && _cache)
{
const std::string cacheKey = io::Cache::getVideoKey(
_path.get(),
const std::string cacheKey = io::getCacheKey(
_path,
videoRequest->time,
videoRequest->options);
if (_cache->getVideo(cacheKey, videoData))
Expand Down Expand Up @@ -450,8 +450,8 @@ namespace tl

if (_cache)
{
const std::string cacheKey = io::Cache::getVideoKey(
_path.get(),
const std::string cacheKey = io::getCacheKey(
_path,
videoRequest->time,
videoRequest->options);
_cache->addVideo(cacheKey, data);
Expand Down Expand Up @@ -518,8 +518,8 @@ namespace tl
io::AudioData audioData;
if (request && _cache)
{
const std::string cacheKey = io::Cache::getAudioKey(
_path.get(),
const std::string cacheKey = io::getCacheKey(
_path,
request->timeRange,
request->options);
if (_cache->getAudio(cacheKey, audioData))
Expand Down Expand Up @@ -572,8 +572,8 @@ namespace tl

if (_cache)
{
const std::string cacheKey = io::Cache::getAudioKey(
_path.get(),
const std::string cacheKey = io::getCacheKey(
_path,
request->timeRange,
request->options);
_cache->addAudio(cacheKey, audioData);
Expand Down

0 comments on commit a0ccf61

Please sign in to comment.