[vlc-commits] Windows windowless: Fix compatibility with Chrome
Cheng Sun
git at videolan.org
Mon Jan 7 10:50:09 CET 2013
npapi-vlc | branch: master | Cheng Sun <chengsun9 at gmail.com> | Fri Jan 4 20:52:55 2013 +0000| [ed1f85525a08c99d200a8d9a1c0be4f6a14bdcb4] | committer: Jean-Baptiste Kempf
Windows windowless: Fix compatibility with Chrome
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=ed1f85525a08c99d200a8d9a1c0be4f6a14bdcb4
---
npapi/vlcwindowless_win.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/npapi/vlcwindowless_win.cpp b/npapi/vlcwindowless_win.cpp
index e7bae77..c237bf2 100644
--- a/npapi/vlcwindowless_win.cpp
+++ b/npapi/vlcwindowless_win.cpp
@@ -45,7 +45,7 @@ bool VlcWindowlessWin::handle_event(void *event)
switch (npevent->event) {
case WM_PAINT:
BOOL ret;
- HDC hDC = reinterpret_cast<HDC> (npwindow.window);
+ HDC hDC = reinterpret_cast<HDC> (npevent->wParam);
if (!hDC) {
fprintf(stderr, "NULL HDC given by browser\n");
return false;
More information about the vlc-commits
mailing list