[vlc-devel] What does vlc do with libxml2?

Peter Tap ptrtap at yahoo.com
Thu Oct 25 07:53:35 CEST 2012

Hi Frédéric,

Thank you for your help and thank you for introducing me to ack-grep. 

I am trying to create a minimal version of vlc that needs to play only mp4 files with H.264/AAC codecs. VLC build configuration has a number of enable/disable options including the one for libxml2.

I checked for vlc_xml.h in modules directory. It appears, for my purpose, I don't need almost all of the modules that were found. However, freetype.c is also using vlc_xml.h. Looks like I would need to enable libxml2 and disable other modules specifically.


----- Original Message -----
From: Frédéric Yhuel <yhuelf at gmail.com>
To: Mailing list for VLC media player developers <vlc-devel at videolan.org>
Sent: Wednesday, October 24, 2012 9:37 PM
Subject: Re: [vlc-devel] What does vlc do with libxml2?

On Thu, Oct 25, 2012 at 1:51 AM, Peter Tap <ptrtap at yahoo.com> wrote:
> Jean,
> Thank you for your help.
> In my custom build, I don't require supporting subtitles at all. Is it safe
> to disable xml2 in vlc build configuration?

Why don't you do something like:

ack-grep "#include <vlc_xml.h>" vlc/modules/

and see if you need these modules?

There's only a ten or so modules using libxml2.

Best regards,
vlc-devel mailing list
To unsubscribe or modify your subscription options:

More information about the vlc-devel mailing list