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
01de7da1
Commit
01de7da1
authored
Feb 11, 2010
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mediadirs: cleanup
prefer more uri-friendly
file://dir_path
to
dir://dir_path
parent
8d5e7cc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
modules/services_discovery/mediadirs.c
modules/services_discovery/mediadirs.c
+1
-5
No files found.
modules/services_discovery/mediadirs.c
View file @
01de7da1
...
...
@@ -190,11 +190,7 @@ static void *Run( void *data )
!
S_ISDIR
(
st
.
st_mode
)
)
continue
;
// TODO: make_URI is only for file://, what about dir:// ?
// char* psz_uri = make_URI( psz_dir );
char
*
psz_uri
;
if
(
asprintf
(
&
psz_uri
,
"dir://%s"
,
psz_dir
)
==
-
1
)
continue
;
char
*
psz_uri
=
make_URI
(
psz_dir
);
input_item_t
*
p_root
=
input_item_New
(
p_sd
,
psz_uri
,
NULL
);
if
(
p_sys
->
i_type
==
Picture
)
...
...
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