[vlc-devel] Checking VLC version from code

Jakob Leben jakob.leben at gmail.com
Mon Nov 30 14:54:41 CET 2009


All I could find about getting VLC version from code was VERSION_STRING.
Wouldn't it be very useful to be able to separatly get major, minor and
build numbers? Is that already implemented?

On the other hand, is it safe enough to parse the numbers from
VERSION_STRING, supposing that it will always start with version number
immediately (x.x.x...) ?

There is an incompatibility with Qt playlist settings at 1.0.x and 1.1 so I
want to save version into settings and check it when loading them.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091130/43f30b54/attachment.html>

More information about the vlc-devel mailing list