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

git version control git at videolan.org
Wed Feb 4 17:00:52 CET 2009


vlc | branch: 0.9-bugfix | Laurent Aimar <fenrir at videolan.org> | Wed Jan 28 20:31:59 2009 +0100| [09928e492272aad572a805cf54e8cd0ad20603f1] | committer: Rémi Denis-Courmont 

Use libvlc_playlist_add_extended_untrusted in mozilla plugin.
(cherry picked from commit e1d3ebead77f64b66983f75746d69df43e145c54)

Signed-off-by: Rémi Denis-Courmont <rdenis at simphalempin.com>

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

 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