]> git.sesse.net Git - vlc/blobdiff - projects/activex/plugin.cpp
libvlc_media_*: remove a bunch of useless exception parameters
[vlc] / projects / activex / plugin.cpp
index 0d63f57affb9367a69aead04ee9d627f3e844ed8..1bd4a88f9b0388851fa442484a6ad2efad7a509b 100644 (file)
@@ -475,10 +475,12 @@ void VLCPlugin::initVLC()
     ppsz_argv[ppsz_argc++] = "--no-one-instance";
 
     /* common settings */
+    ppsz_argv[ppsz_argc++] = "-vv";
     ppsz_argv[ppsz_argc++] = "--no-stats";
     ppsz_argv[ppsz_argc++] = "--no-media-library";
-    ppsz_argv[ppsz_argc++] = "--ignore-config";
     ppsz_argv[ppsz_argc++] = "--intf=dummy";
+    ppsz_argv[ppsz_argc++] = "--no-video-title-show";
+
 
     // loop mode is a configuration option only
     if( _b_autoloop )
@@ -1068,14 +1070,7 @@ int  VLCPlugin::playlist_add_extended_untrusted(const char *mrl, int optc, const
         return -1;
 
     for( int i = 0; i < optc; ++i )
-    {
-        libvlc_media_add_option_untrusted(p_m, optv[i],ex);
-        if( libvlc_exception_raised(ex) )
-        {
-            libvlc_media_release(p_m);
-            return -1;
-        }
-    }
+        libvlc_media_add_option_flag(p_m, optv[i], libvlc_media_option_unique);
 
     libvlc_media_list_lock(_p_mlist);
     libvlc_media_list_add_media(_p_mlist,p_m,ex);