diff --git a/test/decoders/VideoDecoderTest.cpp b/test/decoders/VideoDecoderTest.cpp index 1fbbd9a0..f996cd54 100644 --- a/test/decoders/VideoDecoderTest.cpp +++ b/test/decoders/VideoDecoderTest.cpp @@ -50,9 +50,9 @@ class VideoDecoderTest : public testing::TestWithParam { 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_;