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

Avmedia/VLC: Adding more debug info

Change-Id: I484050575da7e09e89a10f3a4e8d5fbe95f88044
üst ab74f61f
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#include <iostream>
#include "mediawindow_impl.hxx" #include "mediawindow_impl.hxx"
#include "mediaevent_impl.hxx" #include "mediaevent_impl.hxx"
#include "mediamisc.hxx" #include "mediamisc.hxx"
......
...@@ -30,7 +30,7 @@ namespace ...@@ -30,7 +30,7 @@ namespace
"-Vdummy", "-Vdummy",
"--snapshot-format=png", "--snapshot-format=png",
"--ffmpeg-threads", "--ffmpeg-threads",
"--verbose=-1", "--verbose=2",
"--no-audio" "--no-audio"
}; };
} }
......
...@@ -30,7 +30,7 @@ namespace ...@@ -30,7 +30,7 @@ namespace
const char * const VLC_ARGS[] = { const char * const VLC_ARGS[] = {
"-Vdummy", "-Vdummy",
"--verbose=-1" "--verbose=2"
}; };
} }
......
...@@ -47,7 +47,7 @@ namespace ...@@ -47,7 +47,7 @@ namespace
wchar_t arCurrent[MAX_PATH]; wchar_t arCurrent[MAX_PATH];
DWORD dwType, dwCurrentSize = sizeof( arCurrent ); DWORD dwType, dwCurrentSize = sizeof( arCurrent );
if ( ::RegOpenKeyExW( HKEY_LOCAL_MACHINE, L"Software\\VideoLAN\\VLC", if ( ::RegOpenKeyExW( HKEY_LOCAL_MACHINE, L"SOFTWARE\\VideoLAN\\VLC",
0, KEY_READ, &hKey ) == ERROR_SUCCESS ) 0, KEY_READ, &hKey ) == ERROR_SUCCESS )
{ {
if ( ::RegQueryValueExW( hKey, L"InstallDir", NULL, &dwType, (LPBYTE) arCurrent, &dwCurrentSize ) == ERROR_SUCCESS && if ( ::RegQueryValueExW( hKey, L"InstallDir", NULL, &dwType, (LPBYTE) arCurrent, &dwCurrentSize ) == ERROR_SUCCESS &&
...@@ -95,6 +95,7 @@ namespace ...@@ -95,6 +95,7 @@ namespace
#elif defined( WNT ) #elif defined( WNT )
const OUString& fullPath = GetVLCPath() + OUString::createFromAscii(LibName); const OUString& fullPath = GetVLCPath() + OUString::createFromAscii(LibName);
#endif #endif
SAL_INFO("avmedia", fullPath);
oslModule aModule = osl_loadModule( fullPath.pData, oslModule aModule = osl_loadModule( fullPath.pData,
SAL_LOADMODULE_DEFAULT ); SAL_LOADMODULE_DEFAULT );
......
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