diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-09-03 21:21:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-09-03 21:22:15 +0200 |
commit | 99208858b934773d73fd0bd905c190a067c02947 (patch) | |
tree | 0e6bc2292880f05bad6f7fcecf18e6a81c74c0c1 /avmedia | |
parent | 728e2f41dbe5cf29fecfe4a96fbe3f6ce78517d8 (diff) |
Make --enable-vlc at least compile on Mac OS X
...no idea whether the change is actually any good, though.
Change-Id: Ib9e9bfbc894e9e0dde1f1a2e882bd09944f4d6d4
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/vlc/vlcplayer.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/avmedia/source/vlc/vlcplayer.cxx b/avmedia/source/vlc/vlcplayer.cxx index 15e1b1feca48..060abcc698a0 100644 --- a/avmedia/source/vlc/vlcplayer.cxx +++ b/avmedia/source/vlc/vlcplayer.cxx @@ -167,7 +167,10 @@ namespace if (pEnvData == NULL) return -1; -#if defined WNT +#if defined MACOSX + // Explicit converts from NSView* to int + const int id = reinterpret_cast<int>( pEnvData->pView ); +#elif defined WNT // Explicit converts from HWND to int const int id = reinterpret_cast<int>( pEnvData->hWnd ); #else |