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
349c167b
Commit
349c167b
authored
Apr 07, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove playlist_NodeDump as nobody is using this debuging function.
parent
ca254964
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
37 deletions
+1
-37
include/vlc_playlist.h
include/vlc_playlist.h
+0
-1
src/libvlc.sym
src/libvlc.sym
+0
-1
src/playlist/tree.c
src/playlist/tree.c
+1
-35
No files found.
include/vlc_playlist.h
View file @
349c167b
...
...
@@ -380,7 +380,6 @@ VLC_EXPORT( int, playlist_LiveSearchUpdate, (playlist_t *, playlist_item_t *, co
/********************************************************
* Tree management
********************************************************/
VLC_EXPORT
(
void
,
playlist_NodeDump
,
(
playlist_t
*
p_playlist
,
playlist_item_t
*
p_item
,
int
i_level
)
);
VLC_EXPORT
(
int
,
playlist_NodeChildrenCount
,
(
playlist_t
*
,
playlist_item_t
*
)
);
/* Node management */
...
...
src/libvlc.sym
View file @
349c167b
...
...
@@ -241,7 +241,6 @@ playlist_NodeAppend
playlist_NodeChildrenCount
playlist_NodeCreate
playlist_NodeDelete
playlist_NodeDump
playlist_NodeEmpty
playlist_NodeInsert
playlist_NodeRemoveItem
...
...
src/playlist/tree.c
View file @
349c167b
...
...
@@ -48,7 +48,7 @@ playlist_item_t *GetPrevItem( playlist_t *p_playlist,
* Create a playlist node
*
* \param p_playlist the playlist
* \paam psz_name the name of the node
* \pa
r
am psz_name the name of the node
* \param p_parent the parent node to attach to or NULL if no attach
* \param p_flags miscellaneous flags
* \param p_input the input_item to attach to or NULL if it has to be created
...
...
@@ -666,37 +666,3 @@ playlist_item_t *GetPrevItem( playlist_t *p_playlist,
}
return
NULL
;
}
/* Dump the contents of a node */
void
playlist_NodeDump
(
playlist_t
*
p_playlist
,
playlist_item_t
*
p_item
,
int
i_level
)
{
char
str
[
512
];
int
i
;
if
(
i_level
==
1
)
{
msg_Dbg
(
p_playlist
,
"%s (%i)"
,
p_item
->
p_input
->
psz_name
,
p_item
->
i_children
);
}
if
(
p_item
->
i_children
==
-
1
)
{
return
;
}
for
(
i
=
0
;
i
<
p_item
->
i_children
;
i
++
)
{
memset
(
str
,
32
,
512
);
sprintf
(
str
+
2
*
i_level
,
"%s (%i)"
,
p_item
->
pp_children
[
i
]
->
p_input
->
psz_name
,
p_item
->
pp_children
[
i
]
->
i_children
);
msg_Dbg
(
p_playlist
,
"%s"
,
str
);
if
(
p_item
->
pp_children
[
i
]
->
i_children
>=
0
)
{
playlist_NodeDump
(
p_playlist
,
p_item
->
pp_children
[
i
],
i_level
+
1
);
}
}
return
;
}
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