[FFmpeg-devel] [PATCH 2/3] configure: enable autodetected libraries after option parsing

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Fri Dec 2 02:17:41 EET 2016


On 02.12.2016 01:05, Hendrik Leppkes wrote:
> On Fri, Dec 2, 2016 at 12:27 AM, Andreas Cadhalpun
> <andreas.cadhalpun at googlemail.com> wrote:
>> On 01.12.2016 11:01, Hendrik Leppkes wrote:
>>> If those are enabled after option parsing, doesn't this then prevent
>>> me from turning them off?
>>
>> Good catch, they should only be enabled, if they haven't been disabled.
>> Updated patch is attached.
>>
> 
> I'm not 100% sure, but maybe enable_weak might work? It should only
> affect the value if its still entirely unset, which should be what we
> want?

I tested with --disable-vaapi and enable_weak indeed works.

> Would look nicer then the manual loopery.

I don't really mind either way, so attached is a patch with enable_weak.

Best regards,
Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-configure-enable-autodetected-libraries-after-option.patch
Type: text/x-diff
Size: 1496 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161202/8eba4da8/attachment.patch>


More information about the ffmpeg-devel mailing list