diff options
author | Minh Ngo <nlminhtl@gmail.com> | 2013-09-23 21:55:02 +0300 |
---|---|---|
committer | Minh Ngo <nlminhtl@gmail.com> | 2013-09-23 21:56:05 +0300 |
commit | ba0d1fc481c524bb87c9a9e0f434d43927428f75 (patch) | |
tree | a25eae78689c096991ba5a1e626983106d87ed7e /avmedia/source | |
parent | ab74f61f80beffee9aecf622d476205c13e8c245 (diff) |
Avmedia/VLC: Adding more debug info
Change-Id: I484050575da7e09e89a10f3a4e8d5fbe95f88044
Diffstat (limited to 'avmedia/source')
-rw-r--r-- | avmedia/source/viewer/mediawindow_impl.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/vlc/vlcframegrabber.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/vlc/vlcmanager.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/vlc/wrapper/SymbolLoader.hxx | 3 |
4 files changed, 5 insertions, 4 deletions
diff --git a/avmedia/source/viewer/mediawindow_impl.cxx b/avmedia/source/viewer/mediawindow_impl.cxx index 062710c8affb..adfe1cd19df8 100644 --- a/avmedia/source/viewer/mediawindow_impl.cxx +++ b/avmedia/source/viewer/mediawindow_impl.cxx @@ -16,7 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - +#include <iostream> #include "mediawindow_impl.hxx" #include "mediaevent_impl.hxx" #include "mediamisc.hxx" diff --git a/avmedia/source/vlc/vlcframegrabber.cxx b/avmedia/source/vlc/vlcframegrabber.cxx index 8b348f456f31..f5b709163f76 100644 --- a/avmedia/source/vlc/vlcframegrabber.cxx +++ b/avmedia/source/vlc/vlcframegrabber.cxx @@ -30,7 +30,7 @@ namespace "-Vdummy", "--snapshot-format=png", "--ffmpeg-threads", - "--verbose=-1", + "--verbose=2", "--no-audio" }; } diff --git a/avmedia/source/vlc/vlcmanager.cxx b/avmedia/source/vlc/vlcmanager.cxx index 085f3c8d038c..e86302dfac88 100644 --- a/avmedia/source/vlc/vlcmanager.cxx +++ b/avmedia/source/vlc/vlcmanager.cxx @@ -30,7 +30,7 @@ namespace const char * const VLC_ARGS[] = { "-Vdummy", - "--verbose=-1" + "--verbose=2" }; } diff --git a/avmedia/source/vlc/wrapper/SymbolLoader.hxx b/avmedia/source/vlc/wrapper/SymbolLoader.hxx index 6bda7bdacb68..7d89339b5483 100644 --- a/avmedia/source/vlc/wrapper/SymbolLoader.hxx +++ b/avmedia/source/vlc/wrapper/SymbolLoader.hxx @@ -47,7 +47,7 @@ namespace wchar_t arCurrent[MAX_PATH]; 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 ) { if ( ::RegQueryValueExW( hKey, L"InstallDir", NULL, &dwType, (LPBYTE) arCurrent, &dwCurrentSize ) == ERROR_SUCCESS && @@ -95,6 +95,7 @@ namespace #elif defined( WNT ) const OUString& fullPath = GetVLCPath() + OUString::createFromAscii(LibName); #endif + SAL_INFO("avmedia", fullPath); oslModule aModule = osl_loadModule( fullPath.pData, SAL_LOADMODULE_DEFAULT ); |