From 1453add36176fc16a992ad592b431e5b47942ed0 Mon Sep 17 00:00:00 2001 From: Zaggy1024 Date: Tue, 24 Feb 2026 17:12:02 -0600 Subject: [PATCH] Tests: Use the proper stream close() method in TestFFmpegDemuxer The test was outdated and needed to be updated before being merged. :^( --- Tests/LibMedia/TestFFmpegDemuxer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/LibMedia/TestFFmpegDemuxer.cpp b/Tests/LibMedia/TestFFmpegDemuxer.cpp index 6377eabcc9..13f7d41ea4 100644 --- a/Tests/LibMedia/TestFFmpegDemuxer.cpp +++ b/Tests/LibMedia/TestFFmpegDemuxer.cpp @@ -86,7 +86,7 @@ TEST_CASE(read_after_aborted_blocking_read) // Reset the abort state and provide the rest of the file data. demuxer->reset_blocking_reads_aborted_for_track(track); stream->add_chunk_at(initial_chunk_size, file_data.bytes().slice(initial_chunk_size)); - stream->reached_end_of_body(); + stream->close(); // Wait for the reader thread to finish. It should successfully read all remaining frames // and then get EndOfStream.