History

Deprecate avcodec_thread_init()

As a side effect of the last commit, avcodec_open() now calls it automatically, so there is no longer any need for clients to call it. Instead they should set AVCodecContext.thread_count. avcodec_thread_free() is deprecated, and will be removed from avcodec.h at the next MAJOR libavcodec bump. Rename the functions to ff_thread_init/free, since they are now internal. Wrappers are provided to maintain API compatibility.

Alexander Strange committed 15 years ago

Commit 043d2ff1 parent 03e3cb88 files · +42 −20Browse files

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

Unified · Split

doc/APIchanges+4−0
@@ -13,6 +13,10 @@ libavutil: 2009-03-08 · 12 unmodified lines
13 13
14API changes, most recent first:14API changes, most recent first:
15 15
162011-02-09 - XXXXXXX - lavc 52.112.0 - avcodec_thread_init()
17 Deprecate avcodec_thread_init()/avcodec_thread_free() use; instead
18 set thread_count before calling avcodec_open.
19
162011-02-09 - 778b08a - lavc 52.111.0 - threading API202011-02-09 - 778b08a - lavc 52.111.0 - threading API
17 Add CODEC_CAP_FRAME_THREADS with new restrictions on get_buffer()/21 Add CODEC_CAP_FRAME_THREADS with new restrictions on get_buffer()/
18 release_buffer()/draw_horiz_band() callbacks for appropriate codecs.22 release_buffer()/draw_horiz_band() callbacks for appropriate codecs.

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