Commit dbb3a9c9 authored by Laurent Aimar's avatar Laurent Aimar

Fixed msg_Info abuses.

parent 7f04d5a3
...@@ -147,7 +147,7 @@ static void *Run( void *data ) ...@@ -147,7 +147,7 @@ static void *Run( void *data )
i_status == 0 ) i_status == 0 )
{ {
/* Found a new device, add it */ /* Found a new device, add it */
msg_Info( p_sd, "New device found" ); msg_Dbg( p_sd, "New device found" );
if( AddDevice( p_sd, &p_rawdevices[0] ) == VLC_SUCCESS ) if( AddDevice( p_sd, &p_rawdevices[0] ) == VLC_SUCCESS )
i_status = 1; i_status = 1;
} }
...@@ -191,7 +191,9 @@ static int AddDevice( services_discovery_t *p_sd, ...@@ -191,7 +191,9 @@ static int AddDevice( services_discovery_t *p_sd,
p_sd->p_sys->i_product_id = p_raw_device->device_entry.product_id; p_sd->p_sys->i_product_id = p_raw_device->device_entry.product_id;
if( ( p_track = LIBMTP_Get_Tracklisting_With_Callback( p_device, if( ( p_track = LIBMTP_Get_Tracklisting_With_Callback( p_device,
CountTracks, p_sd ) ) == NULL ) CountTracks, p_sd ) ) == NULL )
msg_Info( p_sd, "No tracks on the device" ); {
msg_Warn( p_sd, "No tracks on the device" );
}
else else
{ {
if( !( p_sd->p_sys->pp_items = calloc( p_sd->p_sys->i_tracks_num, if( !( p_sd->p_sys->pp_items = calloc( p_sd->p_sys->i_tracks_num,
...@@ -214,7 +216,7 @@ static int AddDevice( services_discovery_t *p_sd, ...@@ -214,7 +216,7 @@ static int AddDevice( services_discovery_t *p_sd,
} }
else else
{ {
msg_Info( p_sd, "No device found, after all" ); msg_Warn( p_sd, "No device found, after all" );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
} }
......
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