Use libvlc_playlist_add_extended_untrusted in activex plugin.
authorLaurent Aimar <fenrir@videolan.org>
Wed, 28 Jan 2009 19:41:55 +0000 (20:41 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 28 Jan 2009 19:41:55 +0000 (20:41 +0100)
projects/activex/plugin.cpp

index 72d9848..6a8c3f8 100644 (file)
@@ -535,7 +535,7 @@ HRESULT VLCPlugin::getVLC(libvlc_instance_t** pp_libvlc)
                     options[i_options++] = timeBuffer;
                 }
                 // add default target to playlist
-                libvlc_playlist_add_extended(_p_libvlc, psz_mrl, NULL, i_options, options, NULL);
+                libvlc_playlist_add_extended_untrusted(_p_libvlc, psz_mrl, NULL, i_options, options, NULL);
                 CoTaskMemFree(psz_mrl);
             }
         }