aboutsummaryrefslogtreecommitdiff
path: root/src/decoder_test.cc
diff options
context:
space:
mode:
authorBoyuan Yang <byang@debian.org>2023-11-27 22:46:29 -0500
committerBoyuan Yang <byang@debian.org>2023-11-27 22:46:29 -0500
commit19564cb4f77660cdb2f980ca619d4b979b9fe342 (patch)
treeff97ccd1471553f1e861c8ea747faa45a023e119 /src/decoder_test.cc
parentd4dbf19f6b0181ee78034bfe4caf189d1c016998 (diff)
downloadlibgav1-19564cb4f77660cdb2f980ca619d4b979b9fe342.tar.gz
libgav1-19564cb4f77660cdb2f980ca619d4b979b9fe342.tar.bz2
libgav1-19564cb4f77660cdb2f980ca619d4b979b9fe342.zip
New upstream version 0.19.0
Diffstat (limited to 'src/decoder_test.cc')
-rw-r--r--src/decoder_test.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/decoder_test.cc b/src/decoder_test.cc
index e274122..52ec5cc 100644
--- a/src/decoder_test.cc
+++ b/src/decoder_test.cc
@@ -172,6 +172,7 @@ TEST_F(DecoderTest, APIFlowForNonFrameParallelMode) {
// Signal end of stream (method 1). This should ensure that all the references
// are released.
status = decoder_->SignalEOS();
+ EXPECT_EQ(status, kStatusOk);
// libgav1 should have released all the reference frames now.
EXPECT_EQ(frames_in_use_, 0);
@@ -302,6 +303,7 @@ TEST_F(DecoderTest, NonFrameParallelModeInvalidFrameAfterEOS) {
// Signal end of stream.
status = decoder_->SignalEOS();
+ EXPECT_EQ(status, kStatusOk);
// libgav1 should have released all the reference frames now.
EXPECT_EQ(frames_in_use_, 0);
@@ -372,6 +374,7 @@ TEST_F(DecoderTest, MetadataObu) {
EXPECT_EQ(buffer_private_data_, buffer->buffer_private_data);
status = decoder_->SignalEOS();
+ EXPECT_EQ(status, kStatusOk);
EXPECT_EQ(frames_in_use_, 0);
}