[vlc-commits] [Git][videolan/vlc][master] 2 commits: avahi: decrease log level
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Jan 4 07:38:24 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
a9da9282 by Thomas Guillem at 2024-01-04T07:15:47+00:00
avahi: decrease log level
- - - - -
020e6198 by Thomas Guillem at 2024-01-04T07:15:47+00:00
mtp: decrease log level
- - - - -
2 changed files:
- modules/services_discovery/avahi.c
- modules/services_discovery/mtp.c
Changes:
=====================================
modules/services_discovery/avahi.c
=====================================
@@ -254,9 +254,9 @@ static void resolve_callback(
if( event == AVAHI_RESOLVER_FAILURE )
{
- msg_Err( p_sys->parent,
- "failed to resolve service '%s' of type '%s' in domain '%s'",
- name, type, domain );
+ msg_Warn( p_sys->parent,
+ "failed to resolve service '%s' of type '%s' in domain '%s'",
+ name, type, domain );
}
else if( event == AVAHI_RESOLVER_FOUND )
{
@@ -266,8 +266,8 @@ static void resolve_callback(
AvahiStringList *asl = NULL;
input_item_t *p_input = NULL;
- msg_Info( p_sys->parent, "service '%s' of type '%s' in domain '%s' port %i",
- name, type, domain, port );
+ msg_Dbg( p_sys->parent, "service '%s' of type '%s' in domain '%s' port %i",
+ name, type, domain, port );
avahi_address_snprint(a, (sizeof(a)/sizeof(a[0]))-1, address);
if( protocol == AVAHI_PROTO_INET6 )
=====================================
modules/services_discovery/mtp.c
=====================================
@@ -171,7 +171,7 @@ static int AddDevice( services_discovery_t *p_sd,
psz_name = GetDeviceName( p_device );
if ( !psz_name )
return VLC_ENOMEM;
- msg_Info( p_sd, "Found device: %s", psz_name );
+ msg_Dbg( p_sd, "Found device: %s", psz_name );
/* The device takes ownership of the name */
mtp_device_t *mtp_device = DeviceNew( psz_name );
@@ -212,7 +212,7 @@ static int AddDevice( services_discovery_t *p_sd,
}
else
{
- msg_Info( p_sd, "The device seems to be mounted, unmount it first" );
+ msg_Dbg( p_sd, "The device seems to be mounted, unmount it first" );
return VLC_EGENERIC;
}
}
@@ -264,7 +264,7 @@ UpdateDevices( services_discovery_t *p_sd,
if ( idx == -1 )
{
/* Not found */
- msg_Info( p_sd, "Device disconnected" );
+ msg_Dbg( p_sd, "Device disconnected" );
CloseDevice( p_sd, device );
}
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/bde20014c2470309507a567d9b7702e8896f076a...020e61981d1b76c0d94cc85688169ae05cd92851
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/bde20014c2470309507a567d9b7702e8896f076a...020e61981d1b76c0d94cc85688169ae05cd92851
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list