vlc | branch: master | Antoine Cellerier <[email protected]> | Fri Feb 3 18:24:54 2012 +0100| [a3363d01443de5b3ff8b9762692662623e70d786] | committer: Antoine Cellerier
Set a default user agent on windows vlc too. This complements commit dadb0622e6244456f7b5576ab2f9aa0c6582c68 which moved responsability for setting the user agent to the client application. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a3363d01443de5b3ff8b9762692662623e70d786 --- bin/winvlc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/bin/winvlc.c b/bin/winvlc.c index d944ae2..42a3d56 100644 --- a/bin/winvlc.c +++ b/bin/winvlc.c @@ -206,6 +206,7 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, vlc = libvlc_new (argc, (const char **)argv); if (vlc != NULL) { + libvlc_set_user_agent (vlc, "VLC media player", "VLC/"PACKAGE_VERSION); libvlc_add_intf (vlc, "globalhotkeys,none"); libvlc_add_intf (vlc, NULL); libvlc_playlist_play (vlc, -1, 0, NULL); _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
