Commit 09928e49 authored by Laurent Aimar's avatar Laurent Aimar Committed by Rémi Denis-Courmont

Use libvlc_playlist_add_extended_untrusted in mozilla plugin.

(cherry picked from commit e1d3ebea)
Signed-off-by: default avatarRémi Denis-Courmont <rdenis@simphalempin.com>
parent f77b039a
...@@ -1481,12 +1481,12 @@ RuntimeNPObject::InvokeResult LibvlcPlaylistNPObject::invoke(int index, const NP ...@@ -1481,12 +1481,12 @@ RuntimeNPObject::InvokeResult LibvlcPlaylistNPObject::invoke(int index, const NP
} }
} }
int item = libvlc_playlist_add_extended(p_plugin->getVLC(), int item = libvlc_playlist_add_extended_untrusted(p_plugin->getVLC(),
url, url,
name, name,
i_options, i_options,
const_cast<const char **>(ppsz_options), const_cast<const char **>(ppsz_options),
&ex); &ex);
free(url); free(url);
free(name); free(name);
for( int i=0; i< i_options; ++i ) for( int i=0; i< i_options; ++i )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment