diff options
author | Minh Ngo <nlminhtl@gmail.com> | 2013-08-22 00:20:32 +0300 |
---|---|---|
committer | Minh Ngo <nlminhtl@gmail.com> | 2013-08-22 00:20:32 +0300 |
commit | 8b3b7e308b1d98cb9fa9c798f8fbb387e59f10fc (patch) | |
tree | 56d6870e6aa07dcf9807000ea5ef278f8de0571e /avmedia | |
parent | e8c0708ee9d0c01cbe0bdcb38ac14e34bdceef32 (diff) |
Finding libvlc in Mac OS/Windows platforms
Change-Id: I34cff74fa59161a5e97411000132ceff65cfff68
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/vlc/wrapper/SymbolLoader.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/avmedia/source/vlc/wrapper/SymbolLoader.hxx b/avmedia/source/vlc/wrapper/SymbolLoader.hxx index 4608b61013fe..c7e66cf2e93a 100644 --- a/avmedia/source/vlc/wrapper/SymbolLoader.hxx +++ b/avmedia/source/vlc/wrapper/SymbolLoader.hxx @@ -28,7 +28,9 @@ namespace { const char *libNames[] = { "libvlc.so.5", - "libvlccore.so.5" + "libvlccore.so.5", + "libvlc.dll", + "libvlc.dylib" }; template<size_t N> @@ -37,7 +39,7 @@ namespace for (uint i = 0; i < N; ++i) { SymbolFunc aMethod = ( SymbolFunc )osl_getFunctionSymbol - ( aModule, OUString::createFromAscii ( pMap[ i ].symName ).pData ); + ( aModule, OUString::createFromAscii( pMap[ i ].symName ).pData ); if ( !aMethod ) return false; |