Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
57e8f47c
Commit
57e8f47c
authored
Sep 03, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless debug, fix a bug
parent
fc4f2673
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
12 deletions
+3
-12
modules/demux/playlist/m3u.c
modules/demux/playlist/m3u.c
+0
-1
modules/demux/playlist/playlist.h
modules/demux/playlist/playlist.h
+1
-1
modules/demux/playlist/xspf.c
modules/demux/playlist/xspf.c
+2
-10
No files found.
modules/demux/playlist/m3u.c
View file @
57e8f47c
...
@@ -172,7 +172,6 @@ static int Demux( demux_t *p_demux )
...
@@ -172,7 +172,6 @@ static int Demux( demux_t *p_demux )
if
(
psz_artist
&&
*
psz_artist
)
if
(
psz_artist
&&
*
psz_artist
)
vlc_input_item_AddInfo
(
p_input
,
_
(
VLC_META_INFO_CAT
),
vlc_input_item_AddInfo
(
p_input
,
_
(
VLC_META_INFO_CAT
),
_
(
VLC_META_ARTIST
),
"%s"
,
psz_artist
);
_
(
VLC_META_ARTIST
),
"%s"
,
psz_artist
);
msg_Dbg
(
p_demux
,
"Adding %s
\n
"
,
p_input
->
psz_uri
);
playlist_AddWhereverNeeded
(
p_playlist
,
p_input
,
p_current
,
playlist_AddWhereverNeeded
(
p_playlist
,
p_input
,
p_current
,
p_item_in_category
,
(
i_parent_id
>
0
)
?
VLC_TRUE
:
VLC_FALSE
,
p_item_in_category
,
(
i_parent_id
>
0
)
?
VLC_TRUE
:
VLC_FALSE
,
PLAYLIST_APPEND
);
PLAYLIST_APPEND
);
...
...
modules/demux/playlist/playlist.h
View file @
57e8f47c
...
@@ -87,7 +87,7 @@ void E_(Close_GVP) ( vlc_object_t * );
...
@@ -87,7 +87,7 @@ void E_(Close_GVP) ( vlc_object_t * );
{ \
{ \
b_play = E_(FindItem)( p_demux, p_playlist, &p_current ); \
b_play = E_(FindItem)( p_demux, p_playlist, &p_current ); \
p_item_in_category = playlist_ItemToNode( p_playlist, p_current ); \
p_item_in_category = playlist_ItemToNode( p_playlist, p_current ); \
p_
current
->p_input->i_type = ITEM_TYPE_PLAYLIST; \
p_
item_in_category
->p_input->i_type = ITEM_TYPE_PLAYLIST; \
}
}
#define HANDLE_PLAY_AND_RELEASE \
#define HANDLE_PLAY_AND_RELEASE \
...
...
modules/demux/playlist/xspf.c
View file @
57e8f47c
...
@@ -553,7 +553,7 @@ static vlc_bool_t parse_track_node COMPLEX_INTERFACE
...
@@ -553,7 +553,7 @@ static vlc_bool_t parse_track_node COMPLEX_INTERFACE
}
}
if
(
p_handler
->
pf_handler
.
smpl
)
if
(
p_handler
->
pf_handler
.
smpl
)
{
{
p_handler
->
pf_handler
.
smpl
(
NULL
,
p_input
,
p_handler
->
pf_handler
.
smpl
(
NULL
,
p_
new_
input
,
p_handler
->
name
,
p_handler
->
name
,
psz_value
);
psz_value
);
FREE_ATT
();
FREE_ATT
();
...
@@ -585,6 +585,7 @@ static vlc_bool_t set_item_info SIMPLE_INTERFACE
...
@@ -585,6 +585,7 @@ static vlc_bool_t set_item_info SIMPLE_INTERFACE
if
(
!
psz_name
||
!
psz_value
||
!
p_input
)
if
(
!
psz_name
||
!
psz_value
||
!
p_input
)
return
VLC_FALSE
;
return
VLC_FALSE
;
/* re-convert xml special characters inside psz_value */
/* re-convert xml special characters inside psz_value */
resolve_xml_special_chars
(
psz_value
);
resolve_xml_special_chars
(
psz_value
);
...
@@ -661,11 +662,6 @@ static vlc_bool_t parse_extension_node COMPLEX_INTERFACE
...
@@ -661,11 +662,6 @@ static vlc_bool_t parse_extension_node COMPLEX_INTERFACE
msg_Warn
(
p_demux
,
"<node> requires
\"
title
\"
attribute"
);
msg_Warn
(
p_demux
,
"<node> requires
\"
title
\"
attribute"
);
return
VLC_FALSE
;
return
VLC_FALSE
;
}
}
if
(
!
strcmp
(
psz_element
,
"node"
)
)
{
fprintf
(
stderr
,
" node: %s
\n
"
,
psz_title
);
}
if
(
psz_title
)
free
(
psz_title
);
if
(
psz_title
)
free
(
psz_title
);
/* parse the child elements */
/* parse the child elements */
...
@@ -740,7 +736,6 @@ static vlc_bool_t parse_extension_node COMPLEX_INTERFACE
...
@@ -740,7 +736,6 @@ static vlc_bool_t parse_extension_node COMPLEX_INTERFACE
/* leave if the current parent node is terminated */
/* leave if the current parent node is terminated */
if
(
!
strcmp
(
psz_name
,
psz_element
)
)
if
(
!
strcmp
(
psz_name
,
psz_element
)
)
{
{
fprintf
(
stderr
,
" </node>
\n
"
);
FREE_ATT
();
FREE_ATT
();
return
VLC_TRUE
;
return
VLC_TRUE
;
}
}
...
@@ -818,9 +813,6 @@ static vlc_bool_t parse_extitem_node COMPLEX_INTERFACE
...
@@ -818,9 +813,6 @@ static vlc_bool_t parse_extitem_node COMPLEX_INTERFACE
msg_Warn
(
p_demux
,
"invalid
\"
href
\"
attribute"
);
msg_Warn
(
p_demux
,
"invalid
\"
href
\"
attribute"
);
return
VLC_FALSE
;
return
VLC_FALSE
;
}
}
fprintf
(
stderr
,
" %s
\n
"
,
p_demux
->
p_sys
->
pp_tracklist
[
i_href
]
->
psz_name
);
return
VLC_TRUE
;
return
VLC_TRUE
;
}
}
...
...
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