Commit 1c24c3e8 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

dsm: Use probe helper

parent 984edfdc
......@@ -58,7 +58,7 @@ int bdsm_sd_probe_Open( vlc_object_t * );
static int Open( vlc_object_t * );
static void Close( vlc_object_t * );
#define vlc_sd_probe_Open bdsm_sd_probe_Open
VLC_SD_PROBE_HELPER( "dsm", "Windows networks", SD_CAT_LAN )
#define BDSM_HELP N_("libdsm's SMB (Windows network shares) input and browser")
......
......@@ -43,7 +43,6 @@
int bdsm_SdOpen( vlc_object_t * );
void bdsm_SdClose( vlc_object_t * );
int bdsm_sd_probe_Open( vlc_object_t * );
struct entry_item
{
......@@ -57,16 +56,6 @@ struct services_discovery_sys_t
vlc_array_t *p_entry_item_list;
};
int bdsm_sd_probe_Open (vlc_object_t *p_this)
{
vlc_probe_t *p_probe = (vlc_probe_t *)p_this;
vlc_sd_probe_Add( p_probe, "dsm{longname=\"Windows networks\"}",
N_( "Windows networks" ), SD_CAT_LAN );
return VLC_PROBE_CONTINUE;
}
static void entry_item_append( services_discovery_t *p_sd,
netbios_ns_entry *p_entry,
input_item_t *p_item )
......
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