[vlc-commits] vlc: use libvlc_set_app_id()

Rémi Denis-Courmont git at videolan.org
Sun Jun 16 10:35:00 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jun 16 11:11:55 2013 +0300| [07794538aa00ef029483fac6d00fbea1d62b5891] | committer: Rémi Denis-Courmont

vlc: use libvlc_set_app_id()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=07794538aa00ef029483fac6d00fbea1d62b5891
---

 bin/vlc.c    |    1 +
 bin/winvlc.c |    2 ++
 2 files changed, 3 insertions(+)

diff --git a/bin/vlc.c b/bin/vlc.c
index 7e078e5..3f8cf3c 100644
--- a/bin/vlc.c
+++ b/bin/vlc.c
@@ -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");
diff --git a/bin/winvlc.c b/bin/winvlc.c
index 134d506..26c6386 100644
--- a/bin/winvlc.c
+++ b/bin/winvlc.c
@@ -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");



More information about the vlc-commits mailing list