Kaydet (Commit) 8b3b7e30 authored tarafından Minh Ngo's avatar Minh Ngo

Finding libvlc in Mac OS/Windows platforms

Change-Id: I34cff74fa59161a5e97411000132ceff65cfff68
üst e8c0708e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment