diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-03-09 18:35:56 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-03-16 10:38:41 +0100 |
commit | 7d09579190def3ef7562399489e628f3b65714ce (patch) | |
tree | d51d4586c7b44eaabc6d077bcc7af29e17d51d48 /libavcodec/version.h | |
parent | 8a129077cc37202a00dd666bd5365c3f61ea2e80 (diff) | |
download | ffmpeg-7d09579190def3ef7562399489e628f3b65714ce.tar.gz |
lavc: rename AV_CODEC_CAP_AUTO_THREADS->AV_CODEC_CAP_OTHER_THREADS
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.
Diffstat (limited to 'libavcodec/version.h')
-rw-r--r-- | libavcodec/version.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/version.h b/libavcodec/version.h index 4299ad4239..4e5a630862 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -28,7 +28,7 @@ #include "libavutil/version.h" #define LIBAVCODEC_VERSION_MAJOR 58 -#define LIBAVCODEC_VERSION_MINOR 131 +#define LIBAVCODEC_VERSION_MINOR 132 #define LIBAVCODEC_VERSION_MICRO 100 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ @@ -162,5 +162,8 @@ #ifndef FF_API_GET_FRAME_CLASS #define FF_API_GET_FRAME_CLASS (LIBAVCODEC_VERSION_MAJOR < 60) #endif +#ifndef FF_API_AUTO_THREADS +#define FF_API_AUTO_THREADS (LIBAVCODEC_VERSION_MAJOR < 60) +#endif #endif /* AVCODEC_VERSION_H */ |