Diego Biurrun <[email protected]> writes:

> On Fri, Jul 27, 2012 at 03:33:10PM +0100, Måns Rullgård wrote:
>> Diego Biurrun <[email protected]> writes:
>> > On Fri, Jul 27, 2012 at 11:29:02AM +0100, Måns Rullgård wrote:
>> >> Diego Biurrun <[email protected]> writes:
>> >> > --- a/configure
>> >> > +++ b/configure
>> >> > @@ -979,21 +976,16 @@ CONFIG_LIST="
>> >> >      libxvid
>> >> > -    lsp
>> >> 
>> >> This one, like dwt, controls a tool used by multiple codecs.  I can
>> >> imagine someone wanting to disable these with a single option instead of
>> >> chasing down all the codecs that use them.  Although probably not the
>> >> case for these two, such tools are sometimes optional in a codec (zlib
>> >> is used that way), so disabling the feature can make sense if you know
>> >> you don't need it and want to reduce the size.
>> >
>> > Let's see what we currently have:
>> >
>> >   CONFIG_EXTRA:
>> >     aandcttables
>> >     ac3dsp
>> >     golomb
>> >     h264chroma
>> >     h264dsp
>> >     h264pred
>> >     h264qpel
>> >     huffman
>> >     lpc
>> >     mpegaudiodsp
>> >     sinewin
>> >     vp3dsp
>> >
>> > Quite possibly dwt and lsp make more sense as user-selectable options.
>> > But then what about aandcttables,
>> 
>> That's just two tables that are needed by a few things internally.  It
>> doesn't make sense to enable or disable on its own.
>> 
>> > golomb, huffman,
>> 
>> Those are variable-length coding schemes.  They are currently not
>> optional anywhere they are used.
>> 
>> > lpc,
>> 
>> Same category as lsp, dwt, etc.
>> 
>> > sinewin?
>> 
>> Again, just a data table used by a few different things.  No need to
>> make it a user option.
>> 
>> > These would appear to also make sense as user-selectable options.
>> >
>> >> >      pic
>> >> >      rdft
>> >> > -    rtpdec
>> >> 
>> >> What does this option do?
>> >
>> > Apparently it's a shorthand introduced in 44b70ce in order not to repeat
>> > a list of dependencies in
>> >
>> >   rtpdec_select="asf_demuxer rm_demuxer rtp_protocol mpegts_demuxer 
>> > mov_demuxer"
>> >   rtsp_demuxer_select="http_protocol rtpdec"
>> >   sdp_demuxer_select="rtpdec"
>> >
>> > Now this does not need a command-line selectable component or any
>> > component at all.  We could either introduce a shell variable at
>> > the place where it is used or live with the small duplication.
>> > I don't have a preference in either direction.
>> 
>> CONFIG_RTPDEC is used in the source code so it needs to remain in some
>> form.  It should probably be in CONFIG_EXTRA.
>
> So the original patch I sent should be good, please approve it :)

How did you reach that conclusion?  If it were that simple, I would have
approved it straight away.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to