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 c0b102c1 parent 8e8cc528 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
1313
1414 API changes, most recent first:
1515
16+2011-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+
1620 2011-02-09 - 778b08a - lavc 52.111.0 - threading API
1721 Add CODEC_CAP_FRAME_THREADS with new restrictions on get_buffer()/
1822 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