[vlc-commits] npapi: do not call VlcPluginBase:: setWindow when parent window did not changed.
Sergey Radionov
git at videolan.org
Wed Dec 21 12:54:13 CET 2011
npapi-vlc | branch: master | Sergey Radionov <RSATom at gmail.com> | Tue Dec 13 09:55:03 2011 +0700| [09b6e48bdd1c8b206bc11bc640a428d21de63a56] | committer: Jean-Baptiste Kempf
npapi: do not call VlcPluginBase::setWindow when parent window did not changed.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=09b6e48bdd1c8b206bc11bc640a428d21de63a56
---
npapi/vlcshell.cpp | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/npapi/vlcshell.cpp b/npapi/vlcshell.cpp
index 03fa9b7..921be37 100644
--- a/npapi/vlcshell.cpp
+++ b/npapi/vlcshell.cpp
@@ -351,7 +351,6 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
} else {
if (window->window == curr_window.window) {
/* resize / move notification */
- p_plugin->setWindow(*window);
p_plugin->resize_windows();
} else {
/* we've already been created, but
More information about the vlc-commits
mailing list