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
90113034
Commit
90113034
authored
Dec 23, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #1409
parent
04022ec3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
modules/demux/playlist/xspf.c
modules/demux/playlist/xspf.c
+11
-1
modules/demux/playlist/xspf.h
modules/demux/playlist/xspf.h
+5
-3
No files found.
modules/demux/playlist/xspf.c
View file @
90113034
...
@@ -120,6 +120,15 @@ int Demux( demux_t *p_demux )
...
@@ -120,6 +120,15 @@ int Demux( demux_t *p_demux )
i_ret
=
parse_playlist_node
(
p_demux
,
p_playlist
,
p_current_input
,
i_ret
=
parse_playlist_node
(
p_demux
,
p_playlist
,
p_current_input
,
p_xml_reader
,
"playlist"
)
?
0
:
-
1
;
p_xml_reader
,
"playlist"
)
?
0
:
-
1
;
int
i
;
for
(
i
=
0
;
i
<
p_demux
->
p_sys
->
i_tracklist_entries
;
i
++
)
{
input_item_t
*
p_new_input
=
p_demux
->
p_sys
->
pp_tracklist
[
i
];
if
(
p_new_input
)
{
input_ItemAddSubItem
(
p_current_input
,
p_new_input
);
}
}
HANDLE_PLAY_AND_RELEASE
;
HANDLE_PLAY_AND_RELEASE
;
if
(
p_xml_reader
)
if
(
p_xml_reader
)
...
@@ -882,9 +891,10 @@ static vlc_bool_t parse_extitem_node COMPLEX_INTERFACE
...
@@ -882,9 +891,10 @@ static vlc_bool_t parse_extitem_node COMPLEX_INTERFACE
if
(
p_new_input
)
if
(
p_new_input
)
{
{
input_ItemAddSubItem
(
p_input_item
,
p_new_input
);
input_ItemAddSubItem
(
p_input_item
,
p_new_input
);
p_demux
->
p_sys
->
pp_tracklist
[
i_href
]
=
NULL
;
}
}
/*
fix
for #1293 - XTAG sends ENDELEM for self closing tag */
/*
kludge
for #1293 - XTAG sends ENDELEM for self closing tag */
/* (libxml sends NONE) */
/* (libxml sends NONE) */
xml_ReaderRead
(
p_xml_reader
);
xml_ReaderRead
(
p_xml_reader
);
...
...
modules/demux/playlist/xspf.h
View file @
90113034
...
@@ -25,9 +25,11 @@
...
@@ -25,9 +25,11 @@
#define FREE_VALUE() if (psz_value) {free(psz_value);psz_value=NULL;}
#define FREE_VALUE() if (psz_value) {free(psz_value);psz_value=NULL;}
#define FREE_ATT() FREE_NAME();FREE_VALUE()
#define FREE_ATT() FREE_NAME();FREE_VALUE()
#define UNKNOWN_CONTENT 0
enum
{
#define SIMPLE_CONTENT 1
UNKNOWN_CONTENT
,
#define COMPLEX_CONTENT 2
SIMPLE_CONTENT
,
COMPLEX_CONTENT
};
#define SIMPLE_INTERFACE (input_item_t *p_input,\
#define SIMPLE_INTERFACE (input_item_t *p_input,\
const char *psz_name,\
const char *psz_name,\
...
...
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