Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
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
Show 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,
...
@@ -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
);
VLC_UNUSED
(
psz_element
);
VLC_UNUSED
(
p_handlers
);
input_item_t
*
p_new_input
=
NULL
;
input_item_t
*
p_new_input
=
NULL
;
int
i_ret
;
int
i_ret
;
char
*
psz_uri
=
NULL
;
p_track
=
new_track
();
p_track
=
new_track
();
xml_elem_hnd_t
track_elements
[]
=
xml_elem_hnd_t
track_elements
[]
=
...
@@ -374,13 +373,8 @@ static bool parse_track_dict( demux_t *p_demux, input_item_node_t *p_input_node,
...
@@ -374,13 +373,8 @@ static bool parse_track_dict( demux_t *p_demux, input_item_node_t *p_input_node,
return
false
;
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
);
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
);
input_item_node_AppendItem
(
p_input_node
,
p_new_input
);
/* add meta info */
/* add meta info */
...
@@ -388,8 +382,6 @@ static bool parse_track_dict( demux_t *p_demux, input_item_node_t *p_input_node,
...
@@ -388,8 +382,6 @@ static bool parse_track_dict( demux_t *p_demux, input_item_node_t *p_input_node,
vlc_gc_decref
(
p_new_input
);
vlc_gc_decref
(
p_new_input
);
p_demux
->
p_sys
->
i_ntracks
++
;
p_demux
->
p_sys
->
i_ntracks
++
;
free
(
psz_uri
);
}
free_track
(
p_track
);
free_track
(
p_track
);
return
i_ret
;
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