npapi-vlc | branch: master | Cheng Sun <[email protected]> | 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 <[email protected]> > 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; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
