Add a secret --user-agent option to pass the application name
Currently, this is not used anywhere, but better have it for forward compatibility. This is not as elegant as a dedicated libvlc function call. But there is no other way to set a parameter before libvlc_InternalInit() is called by libvlc_new(), short of changing the libvlc_new() prototype (again). And that would probably be worse.
Showing with 6 additions and 1 deletion