[vlc-commits] Doc: QtPlayer example: fix MacOS build with Qt4.8
Jean-Baptiste Kempf
git at videolan.org
Fri Jan 13 09:41:11 CET 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jan 13 09:40:16 2012 +0100| [5dc28924d777eb7532234d207b68259dca8032aa] | committer: Jean-Baptiste Kempf
Doc: QtPlayer example: fix MacOS build with Qt4.8
Close #5835
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5dc28924d777eb7532234d207b68259dca8032aa
---
doc/libvlc/QtPlayer/player.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/doc/libvlc/QtPlayer/player.cpp b/doc/libvlc/QtPlayer/player.cpp
index 1aa6c8b..5cc2e04 100644
--- a/doc/libvlc/QtPlayer/player.cpp
+++ b/doc/libvlc/QtPlayer/player.cpp
@@ -119,7 +119,7 @@ void Mwindow::openFile() {
/* Integrate the video in the interface */
#if defined(Q_OS_MAC)
- libvlc_media_player_set_nsobject(vlcPlayer, videoWidget->winId());
+ libvlc_media_player_set_nsobject(vlcPlayer, (void *) videoWidget->winId());
#elif defined(Q_OS_UNIX)
libvlc_media_player_set_xwindow(vlcPlayer, videoWidget->winId());
#elif defined(Q_OS_WIN)
More information about the vlc-commits
mailing list