Commit dfa48be3 authored by Clément Stenac's avatar Clément Stenac

Don't print too many errors

parent 5903fe3d
...@@ -189,11 +189,11 @@ static int Open( vlc_object_t *p_this ) ...@@ -189,11 +189,11 @@ static int Open( vlc_object_t *p_this )
{ {
p_sys->p_file_info = gnome_vfs_file_info_new(); p_sys->p_file_info = gnome_vfs_file_info_new();
i_ret = gnome_vfs_get_file_info_uri( p_uri, i_ret = gnome_vfs_get_file_info_uri( p_uri,
p_sys->p_file_info, 8 ); p_sys->p_file_info, 8 );
if( i_ret ) if( i_ret )
{ {
msg_Err( p_access, "cannot get file info for uri %s (%s)", msg_Warn( p_access, "cannot get file info for uri %s (%s)",
psz_uri, gnome_vfs_result_to_string( i_ret ) ); psz_uri, gnome_vfs_result_to_string( i_ret ) );
gnome_vfs_file_info_unref( p_sys->p_file_info ); gnome_vfs_file_info_unref( p_sys->p_file_info );
gnome_vfs_uri_unref( p_uri); gnome_vfs_uri_unref( p_uri);
...@@ -221,7 +221,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -221,7 +221,7 @@ static int Open( vlc_object_t *p_this )
gnome_vfs_uri_unref( p_uri); gnome_vfs_uri_unref( p_uri);
g_free( psz_uri ); g_free( psz_uri );
free( p_sys ); free( p_sys );
free( psz_name ); free( psz_name );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
...@@ -231,7 +231,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -231,7 +231,7 @@ static int Open( vlc_object_t *p_this )
p_sys->b_local = VLC_TRUE; p_sys->b_local = VLC_TRUE;
} }
if( p_sys->p_file_info->type == GNOME_VFS_FILE_TYPE_REGULAR || if( p_sys->p_file_info->type == GNOME_VFS_FILE_TYPE_REGULAR ||
p_sys->p_file_info->type == GNOME_VFS_FILE_TYPE_CHARACTER_DEVICE || p_sys->p_file_info->type == GNOME_VFS_FILE_TYPE_CHARACTER_DEVICE ||
p_sys->p_file_info->type == GNOME_VFS_FILE_TYPE_BLOCK_DEVICE ) p_sys->p_file_info->type == GNOME_VFS_FILE_TYPE_BLOCK_DEVICE )
{ {
...@@ -252,7 +252,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -252,7 +252,7 @@ static int Open( vlc_object_t *p_this )
if( p_sys->b_seekable && !p_access->info.i_size ) if( p_sys->b_seekable && !p_access->info.i_size )
{ {
/* FIXME that's bad because all others access will be probed */ /* FIXME that's bad because all others access will be probed */
msg_Err( p_access, "file %s is empty, aborting", psz_name ); msg_Warn( p_access, "file %s is empty, aborting", psz_name );
gnome_vfs_file_info_unref( p_sys->p_file_info ); gnome_vfs_file_info_unref( p_sys->p_file_info );
gnome_vfs_uri_unref( p_uri); gnome_vfs_uri_unref( p_uri);
free( p_sys ); free( p_sys );
......
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