[FFmpeg-devel] [PATCH 1/2] doc/examples/demuxing: show how to use the reference counting system.

wm4 nfxjfg at googlemail.com
Thu Oct 31 12:51:33 CET 2013


On Thu, 31 Oct 2013 12:24:27 +0100
Clément Bœsch <u at pkh.me> wrote:

> On Thu, Oct 31, 2013 at 12:18:11PM +0100, wm4 wrote:
> [...]
> > > Or maybe what you mean is that you can also use the new API without
> > > setting the refcount option, in which case you must not unref the frame
> > > after each decode?
> > 
> > I was assuming it does unref on its own. Although that should be
> > trivial to add (two lines in libavcodec/utils.c). Anyway, nobody seems
> > to understand why a simple API that has a single way to accomplish
> > something is a good idea, so I give up.
> 
> I would say nobody seems to understand the current state; why suddenly

Yeah, and there are confusing issues left and right.

> stop trying to help everyone figuring out what's going on?

I was just complaining that nobody seemed to share my idea how the API
could be made work the same with both refcounting and without.


More information about the ffmpeg-devel mailing list