summaryrefslogtreecommitdiff
path: root/test/audio_decoder_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/audio_decoder_test.cc')
-rw-r--r--test/audio_decoder_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/audio_decoder_test.cc b/test/audio_decoder_test.cc
index 6816c1fbb..8af5dfb11 100644
--- a/test/audio_decoder_test.cc
+++ b/test/audio_decoder_test.cc
@@ -87,7 +87,7 @@ public:
void seek (ContentTime t, bool accurate)
{
AudioDecoder::seek (t, accurate);
- _position = t.frames (_test_audio_content->resampled_audio_frame_rate ());
+ _position = t.frames_round (_test_audio_content->resampled_audio_frame_rate ());
}
private: