On Wed, 12 Feb 2014 15:25:15 +0100, Diego Biurrun <[email protected]> wrote:
> On Wed, Feb 12, 2014 at 07:30:57AM +0100, Anton Khirnov wrote:
> > On Tue, 11 Feb 2014 21:44:34 +0100, Diego Biurrun <[email protected]> wrote:
> > > On Mon, Feb 10, 2014 at 09:23:40PM +0100, Anton Khirnov wrote:
> > > > Based on a patch by Andrew Kelley <[email protected]>
> > > > ---
> > > >  configure                   |    2 +
> > > >  doc/Makefile                |    3 +-
> > > >  doc/examples/filter_audio.c |  362 
> > > > +++++++++++++++++++++++++++++++++++++++++++
> > > >  3 files changed, 366 insertions(+), 1 deletion(-)
> > > >  create mode 100644 doc/examples/filter_audio.c
> > > 
> > > Keep the single-library example in libavfilter.
> > 
> > So that the examples are randomly scattered over multiple place? No, I do 
> > not
> > think that is a good idea.
> 
> I just moved all examples together in the Doxygen documentation.
> 
> > Besides, how would you define a "single-library example". This one mainly
> > focuses on lavfi, but it also uses lavu directly and lavr indirectly.
> 
> Everything uses lavu of course, so that does not count.

No, not everything necessarily uses lavu. You can perfectly well write a user
program that does not call any libavutil functions directly.

E.g. this one showcases some not completely trivial uses of the avoptions,
avdict and avmd5 APIs.

> How does theexample use lavr?  Does it even compile with --disable-avresample?
> If no, then you missed declaring a dependency.

Yes, it compiles, but will fail at runtime if lavfi is not linked against lavr.
Which is why i said it's used indirectly.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to