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
effea1b9
Commit
effea1b9
authored
Feb 20, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ITML playlist: do not decode URI when creating item (!)
parent
f36b9bc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
15 deletions
+7
-15
modules/demux/playlist/itml.c
modules/demux/playlist/itml.c
+7
-15
No files found.
modules/demux/playlist/itml.c
View file @
effea1b9
...
...
@@ -347,7 +347,6 @@ static bool parse_track_dict( demux_t *p_demux, input_item_node_t *p_input_node,
VLC_UNUSED
(
psz_element
);
VLC_UNUSED
(
p_handlers
);
input_item_t
*
p_new_input
=
NULL
;
int
i_ret
;
char
*
psz_uri
=
NULL
;
p_track
=
new_track
();
xml_elem_hnd_t
track_elements
[]
=
...
...
@@ -374,22 +373,15 @@ static bool parse_track_dict( demux_t *p_demux, input_item_node_t *p_input_node,
return
false
;
}
psz_uri
=
decode_URI_duplicate
(
p_track
->
location
);
msg_Info
(
p_demux
,
"Adding '%s'"
,
p_track
->
location
);
p_new_input
=
input_item_New
(
p_demux
,
p_track
->
location
,
NULL
);
input_item_node_AppendItem
(
p_input_node
,
p_new_input
);
if
(
psz_uri
)
{
msg_Info
(
p_demux
,
"Adding '%s'"
,
psz_uri
);
p_new_input
=
input_item_New
(
p_demux
,
psz_uri
,
NULL
);
input_item_node_AppendItem
(
p_input_node
,
p_new_input
);
/* add meta info */
add_meta
(
p_new_input
,
p_track
);
vlc_gc_decref
(
p_new_input
);
/* add meta info */
add_meta
(
p_new_input
,
p_track
);
vlc_gc_decref
(
p_new_input
);
p_demux
->
p_sys
->
i_ntracks
++
;
free
(
psz_uri
);
}
p_demux
->
p_sys
->
i_ntracks
++
;
free_track
(
p_track
);
return
i_ret
;
...
...
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