]> git.sesse.net Git - vlc/commit
Add a secret --user-agent option to pass the application name
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 29 May 2010 16:27:32 +0000 (19:27 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 29 May 2010 16:27:32 +0000 (19:27 +0300)
commitae16ebf3524a76da5b2584451bcf0f0f9fc820a4
tree9fa5357ddd365ae7ff69cac6ece01204d4d59455
parentcdb6faf0d09605a6af1216b4f75872ca3de8dcdc
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.
bin/vlc.c
src/libvlc-module.c