Commit a3363d01 authored by Antoine Cellerier's avatar Antoine Cellerier

Set a default user agent on windows vlc too.

This  complements  commit dadb0622  which
moved  responsability  for   setting  the  user  agent   to  the  client
parent 54255bf5
......@@ -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);
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