• Rémi Denis-Courmont's avatar
    Add a secret --user-agent option to pass the application name · ec9f7f25
    Rémi Denis-Courmont authored
    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.
    (cherry picked from commit ae16ebf3524a76da5b2584451bcf0f0f9fc820a4)
    ec9f7f25
vlc.c 7.4 KB