Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
dfa48be3
Commit
dfa48be3
authored
Dec 08, 2005
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't print too many errors
parent
5903fe3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/access/gnomevfs.c
modules/access/gnomevfs.c
+5
-5
No files found.
modules/access/gnomevfs.c
View file @
dfa48be3
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment