[FFmpeg-devel] [PATCH] Refactor OBJS handling in libavcodec/Makefile
Måns Rullgård
mans
Sat Jul 11 12:20:23 CEST 2009
Diego Biurrun <diego at biurrun.de> writes:
> On Thu, Jul 09, 2009 at 12:24:04PM +0100, M?ns Rullg?rd wrote:
>> Diego Biurrun <diego at biurrun.de> writes:
>> > On Thu, Jul 09, 2009 at 11:15:17AM +0100, M?ns Rullg?rd wrote:
>> >> Diego Biurrun <diego at biurrun.de> writes:
>> >> > Notice that an alternative would be to have some decoders depend on
>> >> > others. For example, the vc1_vdpau decoder could be made to depend on
>> >> > the vc1 decoder in configure. Then it would not need to duplicate the
>> >> > OBJS list. However, this is not currently possible in configure.
>> >>
>> >> Why not? Is vc1_vdpau_decoder_deps=vc1_decoder not enough?
>> >
>> > No, if you run
>> >
>> > configure --disable-decoders --enable-decoder=vc1_vdpau
>> >
>> > no decoders are enabled.
>>
>> I can fix that. Give me a moment.
>
> Moment granted :)
The attached patch make the bulk disabling of things weaker, allowing
a _select on something else to re-enable it. Explicitly disabled
things stay disabled, however, making any _select fail as before.
What do you think?
--
M?ns Rullg?rd
mans at mansr.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disable.patch
Type: text/x-patch
Size: 801 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090711/7567e55e/attachment.bin>
More information about the ffmpeg-devel
mailing list