• Rémi Denis-Courmont's avatar
    Remove the short-lived security-policy parameter. · 6ee1e74f
    Rémi Denis-Courmont authored
    In by far the overwhelming majority of cases, the user would not know
    how to determine the correct answer to the security prompt (did you
    ever compare SSL error handling in IE6 and IE7?). Since the trust value
    is now determined programatically, this would seem to mostly help users
    shoot themselves in the foot.
    
    --security-policy is also broken when using --playlist-enqueue: imagine
    you are running VLC with no security, and then your browser enqueues an
    M3U from some nasty webserver... fireworks.
    
    Wrappers around VLC really should NOT use M3U files if they need to
    tweak certain options (e.g. --sout). Global options can simply be set
    the normal way from the command line (e.g.: vlc --sout '#std{...}').
    Per-item options can be set using the colon notation. Multiple items
    should be expanded on the command line in the right order, rather than
    written to a M3U file. Alternative, IPC interfaces could be used
    (single instance + playlist enqueue, RC interface, DBus interface...)
    or language bindings.
    
    *** Important note ***
    Web browser plugins are still in need of fixing. I suppose
    libvlc-control should be extented to support playlist item trust.
    
    Feel free to revert and do something else if you have a _better_ idea.
    6ee1e74f
variables.c 48.4 KB