[vlc-commits] Update plugin controls on load

Cheng Sun git at videolan.org
Mon Jan 23 19:28:35 CET 2012


npapi-vlc | branch: master | Cheng Sun <chengsun9 at gmail.com> | Sat Jan 21 11:53:51 2012 +0000| [1c637e7909cef25328366cfc43aef7b497775b99] | committer: Cheng Sun

Update plugin controls on load

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=1c637e7909cef25328366cfc43aef7b497775b99
---

 npapi/vlcshell.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/npapi/vlcshell.cpp b/npapi/vlcshell.cpp
index 71f9baa..554acf9 100644
--- a/npapi/vlcshell.cpp
+++ b/npapi/vlcshell.cpp
@@ -367,6 +367,8 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
                     p_plugin->b_stream = true;
                 }
             }
+
+            p_plugin->update_controls();
         } else {
             if (window->window == curr_window.window) {
                 /* resize / move notification */



More information about the vlc-commits mailing list