diff options
author | Reinhard Tartler <siretart@tauware.de> | 2010-02-09 20:28:42 +0000 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2010-02-09 20:28:42 +0000 |
commit | e5bea45df76a4888e37bc33f8cc803ec15d3ab7b (patch) | |
tree | d1827a645579e4bd7530569dab54971fa9116c04 /doc | |
parent | 9e3935dfd8c68608534206859b16239a652db37f (diff) |
Add a lock manager API to libavcodec.
Allows an application to register a callback that manages mutexes
on behalf of FFmpeg.
With this callback registered FFmpeg is fully thread safe.
backport r19025 by andoma
NB: This is a feature backport with little regression potential. It was
requested at FOSDEM 2010 by ben@geexbox.org for use by geexbox and the
enna mediacenter in the upcoming debian/squeeze and ubuntu/lucid
release.
Approved by DonDiego on #ffmpeg-devel
Originally committed as revision 21731 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
Diffstat (limited to 'doc')
-rw-r--r-- | doc/APIchanges | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges index 07e680a04d..db7e245a09 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -1,3 +1,11 @@ +20090601 - r19025 - lavc 52.30.0 - av_lockmgr_register() + av_lockmgr_register() can be used to register a callback function + that lavc (and in the future, libraries that depend on lavc) can use + to implement mutexes. The application should provide a callback function + the implements the AV_LOCK_* operations described in avcodec.h. + When the lock manager is registered FFmpeg is guaranteed to behave + correct also in a multi-threaded application. + 20090301 - r17682 - lavf 52.31.0 - Generic metadata API This version introduce a new metadata API (see av_metadata_get() and friends). The old API is now deprecated and shouldn't be used anymore. This especially |