Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
784ee084
Commit
784ee084
authored
May 18, 2015
by
Thomas Guillem
Browse files
access: remote accesses can loop
parent
e4b58df6
Changes
4
Hide whitespace changes
Inline
Side-by-side
modules/access/dsm/access.c
View file @
784ee084
...
...
@@ -690,7 +690,10 @@ static int BrowserInit( access_t *p_access )
if
(
p_sys
->
psz_share
==
NULL
)
p_access
->
pf_readdir
=
BrowseShare
;
else
{
p_access
->
pf_readdir
=
BrowseDirectory
;
p_access
->
info
.
b_dir_can_loop
=
true
;
}
return
VLC_SUCCESS
;
}
modules/access/ftp.c
View file @
784ee084
...
...
@@ -666,8 +666,10 @@ static int InOpen( vlc_object_t *p_this )
b_directory
=
true
;
if
(
b_directory
)
{
p_access
->
pf_readdir
=
DirRead
;
else
p_access
->
info
.
b_dir_can_loop
=
true
;
}
else
ACCESS_SET_CALLBACKS
(
Read
,
NULL
,
Control
,
Seek
);
\
/* Start the 'stream' */
...
...
modules/access/sftp.c
View file @
784ee084
...
...
@@ -296,6 +296,7 @@ static int Open( vlc_object_t* p_this )
p_sys
->
file
=
libssh2_sftp_opendir
(
p_sys
->
sftp_session
,
psz_path
);
p_access
->
pf_readdir
=
DirRead
;
p_access
->
info
.
b_dir_can_loop
=
true
;
if
(
p_sys
->
file
)
{
...
...
modules/services_discovery/upnp.cpp
View file @
784ee084
...
...
@@ -840,6 +840,7 @@ static int Open( vlc_object_t *p_this )
p_access
->
pf_readdir
=
ReadDirectory
;
p_access
->
info
.
b_dir_sorted
=
true
;
p_access
->
info
.
b_dir_can_loop
=
true
;
return
VLC_SUCCESS
;
}
...
...
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