[vlc-commits] commit: python: VLC.app apparently uses unversioned libvlc.dylib name ( Olivier Aubert )

git at videolan.org git at videolan.org
Thu Apr 29 18:10:50 CEST 2010


vlc/python | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Thu Apr 29 18:10:22 2010 +0200| [f805c0fabcb69e8c537adc2a9a1be4a6baff2217] | committer: Olivier Aubert 

python: VLC.app apparently uses unversioned libvlc.dylib name

> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=f805c0fabcb69e8c537adc2a9a1be4a6baff2217
---

 generated/vlc.py |    6 +++---
 header.py        |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/generated/vlc.py b/generated/vlc.py
index c7ee627..8d5421a 100644
--- a/generated/vlc.py
+++ b/generated/vlc.py
@@ -37,7 +37,7 @@ import logging
 import ctypes
 import sys
 
-build_date="Thu Apr 29 16:54:38 2010"
+build_date="Thu Apr 29 18:09:35 2010"
 
 # Used for win32 and MacOS X
 detected_plugin_path=None
@@ -80,11 +80,11 @@ elif sys.platform == 'darwin':
     d='/Applications/VLC.app'
     import os
     if os.path.exists(d):
-        dll=ctypes.CDLL(d+'/Contents/MacOS/lib/libvlc.2.dylib')
+        dll=ctypes.CDLL(d+'/Contents/MacOS/lib/libvlc.dylib')
         detected_plugin_path=d+'/Contents/MacOS/modules'
     else:
         # Hope some default path is set...
-        dll=ctypes.CDLL('libvlc.2.dylib')
+        dll=ctypes.CDLL('libvlc.dylib')
 
 #
 # Generated enum types.
diff --git a/header.py b/header.py
index b82d824..2cd80df 100755
--- a/header.py
+++ b/header.py
@@ -80,11 +80,11 @@ elif sys.platform == 'darwin':
     d='/Applications/VLC.app'
     import os
     if os.path.exists(d):
-        dll=ctypes.CDLL(d+'/Contents/MacOS/lib/libvlc.2.dylib')
+        dll=ctypes.CDLL(d+'/Contents/MacOS/lib/libvlc.dylib')
         detected_plugin_path=d+'/Contents/MacOS/modules'
     else:
         # Hope some default path is set...
-        dll=ctypes.CDLL('libvlc.2.dylib')
+        dll=ctypes.CDLL('libvlc.dylib')
 
 #
 # Generated enum types.



More information about the vlc-commits mailing list