npapi-vlc | branch: master | Cheng Sun <[email protected]> | Sat Jan 21 
11:53:51 2012 +0000| [f69593f9a58ea74b2e50d874cea5758b2674acb9] | committer: 
Cheng Sun

Update plugin controls on load

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

 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 */

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to