[vlc-commits] bonjour: add mdns shortcut
Felix Paul Kühne
git at videolan.org
Tue Feb 9 20:33:39 CET 2016
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Feb 9 20:33:34 2016 +0100| [0f8cc7083dc8871c92bf2ba8cbd6c28ff4a547b4] | committer: Felix Paul Kühne
bonjour: add mdns shortcut
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0f8cc7083dc8871c92bf2ba8cbd6c28ff4a547b4
---
modules/services_discovery/bonjour.m | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/modules/services_discovery/bonjour.m b/modules/services_discovery/bonjour.m
index cadddee..9f35a71 100644
--- a/modules/services_discovery/bonjour.m
+++ b/modules/services_discovery/bonjour.m
@@ -40,13 +40,15 @@ VLC_SD_PROBE_HELPER( "Bonjour", "Bonjour Network Discovery", SD_CAT_LAN )
* Module descriptor
*/
vlc_module_begin()
-set_shortname( "bonjour" )
-set_description( N_( "Bonjour Network Discovery" ) )
-set_category( CAT_PLAYLIST )
-set_subcategory( SUBCAT_PLAYLIST_SD )
-set_capability( "services_discovery", 0 )
-set_callbacks( Open, Close )
-VLC_SD_PROBE_SUBMODULE
+ set_shortname( "Bonjour" )
+ set_description( N_( "Bonjour Network Discovery" ) )
+ set_category( CAT_PLAYLIST )
+ set_subcategory( SUBCAT_PLAYLIST_SD )
+ set_capability( "services_discovery", 0 )
+ set_callbacks( Open, Close )
+ add_shortcut( "mdns", "bonjour" )
+
+ VLC_SD_PROBE_SUBMODULE
vlc_module_end ()
NSString *const VLCBonjourProtocolName = @"VLCBonjourProtocolName";
More information about the vlc-commits
mailing list