[Libreoffice-commits] core.git: Branch 'feature/vlc' - avmedia/source
Minh Ngo
nlminhtl at gmail.com
Thu Jul 18 13:01:52 PDT 2013
avmedia/source/vlc/vlcplayer.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 5ccebde20112e7135d815f089a78a82eb6ab8c58
Author: Minh Ngo <nlminhtl at gmail.com>
Date: Thu Jul 18 23:01:15 2013 +0300
Fixing windows ID setting
Change-Id: I6ef8b1765afd55da79e4aa3ca89892b920897d34
diff --git a/avmedia/source/vlc/vlcplayer.cxx b/avmedia/source/vlc/vlcplayer.cxx
index e65f135..92e0614 100644
--- a/avmedia/source/vlc/vlcplayer.cxx
+++ b/avmedia/source/vlc/vlcplayer.cxx
@@ -168,9 +168,9 @@ uno::Reference< css::media::XPlayerWindow > SAL_CALL VLCPlayer::createPlayerWind
if (winID != -1)
{
#if defined(WIN32) && !defined(UNIX)
- libvlc_media_player_set_hwnd( mPlayer.get(), winID );
-#else
//TODO: Not works, will be crashed
+#else
+ libvlc_media_player_set_xwindow( mPlayer.get(), winID );
#endif
}
More information about the Libreoffice-commits
mailing list