mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
e5bea45df7
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
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
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
|
|
include the following structure fields:
|
|
- AVFormatContext.title
|
|
- AVFormatContext.author
|
|
- AVFormatContext.copyright
|
|
- AVFormatContext.comment
|
|
- AVFormatContext.album
|
|
- AVFormatContext.year
|
|
- AVFormatContext.track
|
|
- AVFormatContext.genre
|
|
- AVStream.language
|
|
- AVStream.filename
|
|
- AVProgram.provider_name
|
|
- AVProgram.name
|
|
- AVChapter.title
|