]> git.sesse.net Git - vlc/commitdiff
Use libvlc_playlist_add_extended_untrusted in mozilla plugin.
authorLaurent Aimar <fenrir@videolan.org>
Wed, 28 Jan 2009 19:31:59 +0000 (20:31 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 28 Jan 2009 19:31:59 +0000 (20:31 +0100)
projects/mozilla/control/npolibvlc.cpp

index 7c0f7e946b36b929641eafcb6c33cbdd9c5c1735..516bb8b82cdd040aaa2377bb9c6f345236c0d36c 100644 (file)
@@ -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 )