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
0783dcb4
Commit
0783dcb4
authored
Jan 18, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused playlist_ItemNew(WithType).
parent
75ff396a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
31 deletions
+0
-31
include/vlc_playlist.h
include/vlc_playlist.h
+0
-14
src/libvlccore.sym
src/libvlccore.sym
+0
-1
src/playlist/item.c
src/playlist/item.c
+0
-16
No files found.
include/vlc_playlist.h
View file @
0783dcb4
...
...
@@ -309,20 +309,6 @@ VLC_EXPORT( bool, playlist_IsServicesDiscoveryLoaded, ( playlist_t *,const char
* Item management
********************************************************/
/*************************** Item creation **************************/
VLC_EXPORT
(
playlist_item_t
*
,
playlist_ItemNewWithType
,
(
playlist_t
*
,
const
char
*
,
const
char
*
,
int
,
const
char
*
const
*
,
int
,
int
)
);
/** Create a new item, without adding it to the playlist
* \param p_obj a vlc object (anyone will do)
* \param psz_uri the mrl of the item
* \param psz_name a text giving a name or description of the item
* \return the new item or NULL on failure
*/
#define playlist_ItemNew( a , b, c ) \
playlist_ItemNewWithType( VLC_OBJECT(a) , b , c, 0, NULL, -1, 0 )
/*************************** Item deletion **************************/
VLC_EXPORT
(
int
,
playlist_DeleteFromInput
,
(
playlist_t
*
,
int
,
bool
)
);
...
...
src/libvlccore.sym
View file @
0783dcb4
...
...
@@ -295,7 +295,6 @@ playlist_IsServicesDiscoveryLoaded
playlist_ItemGetById
playlist_ItemGetByInput
playlist_ItemGetByInputId
playlist_ItemNewWithType
playlist_ItemToNode
playlist_LiveSearchUpdate
playlist_Lock
...
...
src/playlist/item.c
View file @
0783dcb4
...
...
@@ -183,22 +183,6 @@ playlist_item_t *playlist_ItemNewFromInput( playlist_t *p_playlist,
return
p_item
;
}
playlist_item_t
*
playlist_ItemNewWithType
(
playlist_t
*
p_playlist
,
const
char
*
psz_uri
,
const
char
*
psz_name
,
int
i_options
,
const
char
*
const
*
ppsz_options
,
int
i_duration
,
int
i_type
)
{
input_item_t
*
p_input
;
if
(
psz_uri
==
NULL
)
return
NULL
;
p_input
=
input_item_NewWithType
(
VLC_OBJECT
(
p_playlist
),
psz_uri
,
psz_name
,
i_options
,
ppsz_options
,
VLC_INPUT_OPTION_TRUSTED
,
i_duration
,
i_type
);
return
playlist_ItemNewFromInput
(
p_playlist
,
p_input
);
}
/***************************************************************************
* Playlist item destruction
***************************************************************************/
...
...
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