diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-18 16:21:47 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-09-06 18:47:04 +0200 |
commit | c4415f6ec980d1a5f3ddda79395258150747e97f (patch) | |
tree | d46d96fc5ec9633224cdd2bf9100ad6ad131e7fb /doc | |
parent | be7eed72c89368de70dbf8749eca1dac7443e51a (diff) | |
download | ffmpeg-c4415f6ec980d1a5f3ddda79395258150747e97f.tar.gz |
lavfi: unify asink_buffer and vsink_buffer API
The new API is more generic (no distinction between audio/video for
pulling frames), and avoids code duplication.
A backward compatibility layer is kept for avoiding tools ABI breaks
(only for the video binary interface, audio interface was never used
in the tools).
Diffstat (limited to 'doc')
-rw-r--r-- | doc/APIchanges | 7 | ||||
-rw-r--r-- | doc/filters.texi | 8 |
2 files changed, 11 insertions, 4 deletions
diff --git a/doc/APIchanges b/doc/APIchanges index bd06114379..dd79028a0a 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -13,6 +13,13 @@ libavutil: 2011-04-18 API changes, most recent first: +2011-09-06 - xxxxxxx - lavfi 2.38.0 + Unify video and audio sink API. + + In particular, add av_buffersink_get_buffer_ref(), deprecate + av_vsink_buffer_get_video_buffer_ref() and change the value for the + opaque field passed to the abuffersink init function. + 2011-09-xx - xxxxxxx - lavu 51.16.0 Add av_asprintf(). diff --git a/doc/filters.texi b/doc/filters.texi index be682e669b..951cec78db 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -310,11 +310,11 @@ Below is a description of the currently available audio sinks. Buffer audio frames, and make them available to the end of filter chain. This sink is mainly intended for programmatic use, in particular -through the interface defined in @file{libavfilter/asink_abuffer.h}. +through the interface defined in @file{libavfilter/vsink_buffer.h}. -It requires a pointer to a ABufferSinkContext structure, which defines the -incoming buffers' format, to be passed as the opaque parameter to -@code{avfilter_init_filter} for initialization. +It requires a pointer to an AVABufferSinkContext structure, which +defines the incoming buffers' formats, to be passed as the opaque +parameter to @code{avfilter_init_filter} for initialization. @section anullsink |