[vlc-commits] commit: changes in libvlc validation (theonering )

git at videolan.org git at videolan.org
Sat Mar 13 17:53:44 CET 2010


vlc/phonon | branch: master | theonering <patrick.vonreth at gmail.com> | Fri Mar  5 17:37:18 2010 +0100| [1f67e4d75069f27005d4f2a4dc656354b3c25864] | committer: Jean-Baptiste Kempf 

changes in libvlc validation
(cherry picked from commit 40870a19af35c114a46603da8380d553303bbce6)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/phonon.git/?a=commit;h=1f67e4d75069f27005d4f2a4dc656354b3c25864
---

 vlc/vlcloader.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/vlc/vlcloader.cpp b/vlc/vlcloader.cpp
index 492da5c..4bc96f7 100644
--- a/vlc/vlcloader.cpp
+++ b/vlc/vlcloader.cpp
@@ -178,8 +178,7 @@ QString vlcPath()
     foreach(path, paths) {
         vlcLibrary->setFileName(path);
 
-        if (vlcLibrary->resolve("libvlc_get_version")) {
-            //TODO:call libvlc_get_version to test version?
+        if (!vlcLibrary->resolve("libvlc_exception_init")) {//"libvlc_exception_init" not contained in 1.1+
             return path;
         } else {
             qDebug("Cannot resolve the symbol or load VLC library");



More information about the vlc-commits mailing list