[vlc-commits] Add video and audio aliases to udev discovery

Rémi Denis-Courmont git at videolan.org
Tue Oct 18 16:25:14 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Oct 18 17:24:04 2011 +0300| [1e86b6fb3cd4d6b12a3627d03a001809520e3ad2] | committer: Rémi Denis-Courmont

Add video and audio aliases to udev discovery

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

 modules/services_discovery/udev.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/services_discovery/udev.c b/modules/services_discovery/udev.c
index 8c65b75..385a52b 100644
--- a/modules/services_discovery/udev.c
+++ b/modules/services_discovery/udev.c
@@ -53,7 +53,7 @@ vlc_module_begin ()
     set_subcategory (SUBCAT_PLAYLIST_SD)
     set_capability ("services_discovery", 0)
     set_callbacks (OpenV4L, Close)
-    add_shortcut ("v4l")
+    add_shortcut ("v4l", "video")
 #ifdef HAVE_ALSA
     add_submodule ()
     set_shortname (N_("Audio capture"))
@@ -62,7 +62,7 @@ vlc_module_begin ()
     set_subcategory (SUBCAT_PLAYLIST_SD)
     set_capability ("services_discovery", 0)
     set_callbacks (OpenALSA, Close)
-    add_shortcut ("alsa")
+    add_shortcut ("alsa", "audio")
 #endif
     add_submodule ()
     set_shortname (N_("Discs"))



More information about the vlc-commits mailing list