Tests: Use the proper stream close() method in TestFFmpegDemuxer
The test was outdated and needed to be updated before being merged. :^(
This commit is contained in:
parent
4b47245e99
commit
1453add361
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue