diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-01-17 15:42:34 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-01-18 17:35:42 +0400 |
commit | 26f71ef48c0b6fb9f278528c8251850a76bcd3fe (patch) | |
tree | 3a9f36e506b998c6d4f2dc7714f3fbf640b62ef4 /doc | |
parent | 01ed1c390d8376ba5fac278ceee044bb03a58804 (diff) |
RELEASE_NOTES: mention some notable API changes in 0.8
Diffstat (limited to 'doc')
-rw-r--r-- | doc/RELEASE_NOTES | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/doc/RELEASE_NOTES b/doc/RELEASE_NOTES index b5ced86e85..218a81b544 100644 --- a/doc/RELEASE_NOTES +++ b/doc/RELEASE_NOTES @@ -9,10 +9,7 @@ General notes This release continues the API cleanups that have begun with the previous release. While it is binary compatible with 0.7, many parts of the public API were deprecated and will be removed in the git master and -later releases. Note that a couple of header includes have been cleaned -up, which may require code changes in your applications. In particular, -the header "libavutil/mathematics.h" is no longer included from -"libavcodec/avcodec.h". Please consult the doc/APIchanges file to see +later releases. Please consult the doc/APIchanges file to see intended replacements for the deprecated APIs. Furthermore, our work on the 'ffmpeg' command-line tool has resulted in @@ -42,7 +39,30 @@ API changes A number of additional APIs have been introduced and some existing functions have been deprecated and are scheduled for removal in the next -release. Please see the file doc/APIchanges for details along with +release. Significant API changes include: + +* new audio decoding API which decodes from an AVPacket to an AVFrame and +is able to use AVCodecContext.get_buffer() in the similar way as video decoding. + +* new audio encoding API which encodes from an AVFrame to an AVPacket, thus +allowing it to properly output timing information and side data. + +* rewritten AVOptions API with better built-in support for private options. + +* private options support for demuxers [avformat_open_input()], muxers +[avformat_write_header()], encoders and decoders [avcodec_open2()]. +As a result, many format- or codec-specific fields and flags in AVFormatContext +and AVCodecContext were deprecated -- notably most of CODEC_FLAG2_* and many +CODEC_FLAG_*. + +* new API for custom IO interrupt callbacks. + +* #include cleanup in libavutil -- libavutil/avutil.h no longer includes all +the other headers in libavutil, they must be included manually. One specific +result is that libavutil/mathematics.h is no longer included from +libavcodec/avcodec.h, which is a common source of errors. + +Please see the file doc/APIchanges for details along with similar programmer-centric information. |