mirror of https://code.videolan.org/videolan/vlc
vlc: use libvlc_set_app_id()
This commit is contained in:
parent
921aaff478
commit
07794538aa
|
@ -238,6 +238,7 @@ int main( int i_argc, const char *ppsz_argv[] )
|
|||
|
||||
int ret = 1;
|
||||
libvlc_set_exit_handler (vlc, vlc_kill, &self);
|
||||
libvlc_set_app_id (vlc, "org.VideoLAN.VLC", PACKAGE_VERSION, PACKAGE_NAME);
|
||||
libvlc_set_user_agent (vlc, "VLC media player", "VLC/"PACKAGE_VERSION);
|
||||
|
||||
libvlc_add_intf (vlc, "hotkeys,none");
|
||||
|
|
|
@ -146,6 +146,8 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
|||
vlc = libvlc_new (argc, (const char **)argv);
|
||||
if (vlc != NULL)
|
||||
{
|
||||
libvlc_set_app_id (vlc, "org.VideoLAN.VLC", PACKAGE_VERSION,
|
||||
PACKAGE_NAME);
|
||||
libvlc_set_user_agent (vlc, "VLC media player", "VLC/"PACKAGE_VERSION);
|
||||
libvlc_add_intf (vlc, "hotkeys,none");
|
||||
libvlc_add_intf (vlc, "globalhotkeys,none");
|
||||
|
|
Loading…
Reference in New Issue