Allows an application to register a callback that manages mutexes on behalf of FFmpeg. With this callback registered FFmpeg is fully thread safe. Originally committed as revision 19025 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to doc/APIchanges (1 of 3 files). Show all
Unified · Split
| @@ -12,6 +12,14 @@ libavutil: 2009-03-08 · 11 unmodified lines | ||
| 12 | 12 | |
| 13 | 13 | API changes, most recent first: |
| 14 | 14 | |
| 15 | +2009-06-01 - r19025 - lavc 52.30.0 - av_lockmgr_register() | |
| 16 | + av_lockmgr_register() can be used to register a callback function | |
| 17 | + that lavc (and in the future, libraries that depend on lavc) can use | |
| 18 | + to implement mutexes. The application should provide a callback function | |
| 19 | + the implements the AV_LOCK_* operations described in avcodec.h. | |
| 20 | + When the lock manager is registered FFmpeg is guaranteed to behave | |
| 21 | + correct also in a multi-threaded application. | |
| 22 | + | |
| 15 | 23 | 2009-04-30 - r18719 - lavc 52.28.0 - av_free_packet |
| 16 | 24 | av_free_packet() is no longer an inline function. It is now exported. |
| 17 | 25 | |