This cap is currently used to mark multithreading-capable codecs that wrap external libraries with their own multithreading code. The name is highly confusing for our API users, since libavcodec ALWAYS handles thread_count=0 (see commit message in previous commit). Therefore rename the cap and update its documentation to make its meaning clear. The old name is kept deprecated until next+1 major bump.
Showing the changes to doc/APIchanges (1 of 19 files). Show all
Unified · Split
| @@ -15,6 +15,11 @@ libavutil: 2017-10-21 · 14 unmodified lines | |||
| 15 | 15 | ||
| 16 | API changes, most recent first: | 16 | API changes, most recent first: |
| 17 | 17 | ||
| 18 | 2021-03-xx - xxxxxxxxxx - lavc 58.132.100 - codec.h | ||
| 19 | Add AV_CODEC_CAP_OTHER_THREADS as a new name for | ||
| 20 | AV_CODEC_CAP_AUTO_THREADS. AV_CODEC_CAP_AUTO_THREADS | ||
| 21 | is now deprecated. | ||
| 22 | |||
| 18 | 2021-03-12 - xxxxxxxxxx - lavc 58.131.100 - avcodec.h codec.h | 23 | 2021-03-12 - xxxxxxxxxx - lavc 58.131.100 - avcodec.h codec.h |
| 19 | Add a get_encode_buffer callback to AVCodecContext, similar to | 24 | Add a get_encode_buffer callback to AVCodecContext, similar to |
| 20 | get_buffer2 but for encoders. | 25 | get_buffer2 but for encoders. |