[FFmpeg-devel] [PATCH] doc/examples: add a simple decoding example.

Clément Bœsch u at pkh.me
Wed Sep 11 14:31:31 CEST 2013

On Wed, Sep 11, 2013 at 02:21:44PM +0200, Nicolas George wrote:
> Le decadi 20 fructidor, an CCXXI, Stefano Sabatini a écrit :
> > Now the real question, is why the user should care about "classical"
> > and "non-classical" API? Are we supposed to swith to the frame.h API
> > or keep both of them at the same time (and there is any advantage into
> > using one or the other)? I'm sorry for the many questions.
> I tend to agree: supporting the old API seems pointless (it will probably
> become the default in one or two major versions), and it makes the example
> less didactic.

Less overhead (codec option setting, manual unref - which can be
bothersome sometimes), more compatible, helps understanding the evolution
of the API, ...

Note: a bunch of our other examples are currently broken because of this
misunderstanding of the two way of dealing with the video buffers.

Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130911/6e4507da/attachment.asc>

More information about the ffmpeg-devel mailing list