]> git.sesse.net Git - ffmpeg/commit
avcodec: deprecate thread_safe_callbacks
authorAnton Khirnov <anton@khirnov.net>
Fri, 22 May 2020 13:59:46 +0000 (15:59 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 27 Nov 2020 14:46:50 +0000 (15:46 +0100)
commita83098ab03a47179d54a9b9c8bcefc81b9c6aafd
tree3f12682fa2917e3e83b4a3a6459a4be9cf51210d
parent551ca67afe7555368758c4aab476978689380a6d
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.
doc/APIchanges
doc/multithreading.txt
fftools/ffmpeg.c
libavcodec/avcodec.h
libavcodec/pthread_frame.c
libavcodec/thread.h
libavcodec/utils.c
libavcodec/version.h