tests/README.md
author Pekka Ristola <pekkarr@protonmail.com>
Mon, 27 Jan 2025 19:08:05 +0100
changeset 16096 dbdb98dafd80
parent 12643 5bc6fb5da42f
permissions -rw-r--r--
Add support for ffmpeg 6.0 - Use the new send_frame/receive_packet API for encoding - Use the new channel layout API for audio - Fix audio recording - Copy codec parameters to the stream parameters - Set correct pts for audio frames - Read audio samples from file directly to the refcounted AVFrame buffer instead of the `g_pSamples` buffer - Use global AVPackets allocated with `av_packet_alloc` - Stop trying to write more audio frames when `WriteAudioFrame` fails with a negative error code - Fix segfault with `g_pContainer->url`. The field has to be allocated with `av_malloc` before writing to it. It's set to `NULL` by default. - Properly free allocations with `avcodec_free_context` and `avformat_free_context`
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12643
5bc6fb5da42f Add README files to explain the tests directory
Wuzzy <almikes@aol.com>
parents:
diff changeset
     1
Directory for automated tests to test the engine.
5bc6fb5da42f Add README files to explain the tests directory
Wuzzy <almikes@aol.com>
parents:
diff changeset
     2
5bc6fb5da42f Add README files to explain the tests directory
Wuzzy <almikes@aol.com>
parents:
diff changeset
     3
Run `ctest` in the root directory of this repository to run all tests.
5bc6fb5da42f Add README files to explain the tests directory
Wuzzy <almikes@aol.com>
parents:
diff changeset
     4
Run `ctest -R <test name>` to run only the test with the given name.
5bc6fb5da42f Add README files to explain the tests directory
Wuzzy <almikes@aol.com>
parents:
diff changeset
     5
5bc6fb5da42f Add README files to explain the tests directory
Wuzzy <almikes@aol.com>
parents:
diff changeset
     6
This requires you to have CMake.