[FFmpeg-devel] [PATCH] lavfi/sink_buffer: implement libav compatibility API (video).

Michael Niedermayer michaelni at gmx.at
Sun Sep 23 23:06:48 CEST 2012


On Sun, Sep 23, 2012 at 08:51:01PM +0200, Nicolas George wrote:
> Implement av_buffersink_read() for ffmpeg's version of buffersink.
> 
> With this change, avconv linked against ffmpeg's libraries passes
> the same number of tests whether it uses ffbuffersink or
> buffersink_old.
> 
> Note: the framed audio API (av_buffersink_read_samples()) is still
> missing for ffmpeg's version to be a drop-in replacement.
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  libavfilter/buffersink.c  |    2 +-
>  libavfilter/internal.h    |    2 ++
>  libavfilter/sink_buffer.c |   30 ++++++++++++++++++++++++++++++
>  3 files changed, 33 insertions(+), 1 deletion(-)

should be ok if its fine with some of the sinks disabled at configure
its becoming a bit convoluted though with the 2 sinks though ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120923/029e614e/attachment.asc>


More information about the ffmpeg-devel mailing list