On Fri, 2 May 2014 10:57:58 -0700
Josh Allmann <[email protected]> wrote:

> On 2 May 2014 10:16, Hendrik Leppkes <[email protected]> wrote:
> > On Fri, May 2, 2014 at 5:54 PM, Josh Allmann <[email protected]> 
> > wrote:
> >> Since the scaler is often auto-inserted in video filtergraphs,
> >> this avoids a runtime error when filters are selectively enabled.
> >
> > I dunno, just because its commonly used at runtime shouldn't mandate
> > including it all the time.
> > If a user selectively disables it, its their own fault, isn't it. Its
> > default on afterall.
> >
> 
> In that case, then why include fifos, buffers, ... ?
> 
> If the scale filter is not unconditionally included, then it should
> not be auto-inserted. The user should not have to be aware of lavfi's
> plumbing -- that's the job of the build system.
> 
> This is a compile-time bug manifesting as a runtime error. Basic
> usability goes a long way; lavfi's usabillity is bad enough as-is, and
> blaming the user is a really bad attitude to take.

I guess it's because the scale filter depends on libswscale. Someone
might create an extremely specific program tailored to a single use
case, where a certain filter is needed, but no conversion. Very
obscure, but that's what --disable-all is for.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to