[vlc-devel] commit: Use libvlc_playlist_add_extended_untrusted in mozilla plugin. ( Laurent Aimar )

git version control git at videolan.org
Wed Jan 28 20:34:13 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Jan 28 20:31:59 2009 +0100| [e1d3ebead77f64b66983f75746d69df43e145c54] | committer: Laurent Aimar 

Use libvlc_playlist_add_extended_untrusted in mozilla plugin.

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

 projects/mozilla/control/npolibvlc.cpp |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/projects/mozilla/control/npolibvlc.cpp b/projects/mozilla/control/npolibvlc.cpp
index 7c0f7e9..516bb8b 100644
--- a/projects/mozilla/control/npolibvlc.cpp
+++ b/projects/mozilla/control/npolibvlc.cpp
@@ -1481,12 +1481,12 @@ RuntimeNPObject::InvokeResult LibvlcPlaylistNPObject::invoke(int index, const NP
                     }
                 }
 
-                int item = libvlc_playlist_add_extended(p_plugin->getVLC(),
-                                                        url,
-                                                        name,
-                                                        i_options,
-                                                        const_cast<const char **>(ppsz_options),
-                                                        &ex);
+                int item = libvlc_playlist_add_extended_untrusted(p_plugin->getVLC(),
+                                                                  url,
+                                                                  name,
+                                                                  i_options,
+                                                                  const_cast<const char **>(ppsz_options),
+                                                                  &ex);
                 free(url);
                 free(name);
                 for( int i=0; i< i_options; ++i )




More information about the vlc-devel mailing list