History

avcodec: deprecate thread_safe_callbacks

They add considerable complexity to frame-threading implementation, which includes an unavoidably leaking error path, while the advantages of this option to the users are highly dubious. It should be always possible and desirable for the callers to make their get_buffer2() implementation thread-safe, so deprecate this option.

Anton Khirnov committed 6 years ago

Commit a83098a1 parent 551ca678 files · +102 −11Browse files

Showing the changes to doc/APIchanges (1 of 8 files). Show all

Unified · Split

doc/APIchanges+5−0
@@ -15,6 +15,11 @@ libavutil: 2017-10-21 · 14 unmodified lines
1515
1616 API changes, most recent first:
1717
18+2020-xx-xx - xxxxxxxxxx - lavc 58.114.100 - avcodec.h
19+ Deprecate AVCodecContext.thread_safe_callbacks. Starting with
20+ LIBAVCODEC_VERSION_MAJOR=60, user callbacks must always be
21+ thread-safe when frame threading is used.
22+
1823 2020-11-25 - xxxxxxxxxx - lavc 58.113.100 - avcodec.h
1924 Adds a new flag AV_CODEC_EXPORT_DATA_FILM_GRAIN for export_side_data.
2025

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t