TagLib 1.6 RC1

Sander Jansen s.jansen at gmail.com
Thu Sep 3 22:58:39 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lukáš Lalinský wrote:
> On Thu, Sep 3, 2009 at 10:41 PM, Sander Jansen<s.jansen at gmail.com> wrote:
>> Great to see another release. Regarding the MP4/ASF support in 1.6, is
>> there a way to detect for a program using taglib to detect whether
>> support is buildin or not (runtime and compiletime)? Since I access the
>> mp4 tag to check for disc numbers, I guess my program depends on some of
>> the mp4 dependent header files. Will those be installed when mp4/asf is
>> disabled?
> 
> If you are using FileRef, you can just check if it has a file opened.
> The header files should not be installed without enabling those
> options, so at compile time you can look e.g. for mp4file.h to
> determine whether you have TagLib with MP4 support or not.

How about adding an extra define to the pkg-config file when those are
enabled. Then I can use pkg-config directly and use the extra define in
my code without having to check for the right header files?

Cheers,

Sander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqgLf8ACgkQhygVDb8DRqwEIgCdE2CqbsELGFN+U7IeMrlDayQP
ezIAmgI28++29YPwouAYcLSadTYv7/kE
=cwtJ
-----END PGP SIGNATURE-----


More information about the taglib-devel mailing list