Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
bf472b10
Commit
bf472b10
authored
Aug 17, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
M3U export: use local paths if applicable (fix #4063)
parent
e69b3ad3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
modules/misc/playlist/m3u.c
modules/misc/playlist/m3u.c
+8
-0
No files found.
modules/misc/playlist/m3u.c
View file @
bf472b10
...
...
@@ -34,6 +34,7 @@
#include <vlc_input.h>
#include <vlc_meta.h>
#include <vlc_charset.h>
#include <vlc_url.h>
#include <assert.h>
...
...
@@ -105,6 +106,13 @@ static void DoChildren( playlist_export_t *p_export, playlist_item_t *p_root,
}
vlc_mutex_unlock
(
&
p_current
->
p_input
->
lock
);
/* Stupid third party players don't understand file: URIs. */
char
*
psz_path
=
make_path
(
psz_uri
);
if
(
psz_path
!=
NULL
)
{
free
(
psz_uri
);
psz_uri
=
psz_path
;
}
fprintf
(
p_export
->
p_file
,
"%s
\n
"
,
psz_uri
);
free
(
psz_uri
);
}
...
...
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