Commit 2f6edbec authored by Antoine Cellerier's avatar Antoine Cellerier Committed by Jean-Baptiste Kempf

Set a default user agent on windows vlc too.

This  complements  commit dadb0622  which
moved  responsability  for   setting  the  user  agent   to  the  client
application.
(cherry picked from commit a3363d01)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent f426cd4b
......@@ -205,6 +205,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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment