Skip to content

Commit

Permalink
Default C++ tests to approximate mode
Browse files Browse the repository at this point in the history
  • Loading branch information
scotts committed Dec 20, 2024
1 parent 8c9aeac commit 921b822
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/decoders/VideoDecoderTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ class VideoDecoderTest : public testing::TestWithParam<bool> {
content_ = outputStringStream.str();
void* buffer = content_.data();
size_t length = outputStringStream.str().length();
return VideoDecoder::createFromBuffer(buffer, length);
return VideoDecoder::createFromBuffer(buffer, length, VideoDecoder::SeekMode::approximate);
} else {
return VideoDecoder::createFromFilePath(filepath);
return VideoDecoder::createFromFilePath(filepath, VideoDecoder::SeekMode::approximate);
}
}
std::string content_;
Expand Down

0 comments on commit 921b822

Please sign in to comment.