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
050a1632
Commit
050a1632
authored
Dec 31, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: remove playlist_PreparseEnqueue() (refs #5460)
parent
d64350b4
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
21 deletions
+3
-21
include/vlc_playlist.h
include/vlc_playlist.h
+0
-3
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+1
-1
modules/gui/macosx/playlistinfo.m
modules/gui/macosx/playlistinfo.m
+1
-1
src/libvlccore.sym
src/libvlccore.sym
+0
-1
src/playlist/control.c
src/playlist/control.c
+0
-14
src/playlist/item.c
src/playlist/item.c
+1
-1
No files found.
include/vlc_playlist.h
View file @
050a1632
...
...
@@ -292,9 +292,6 @@ VLC_API mtime_t playlist_GetNodeDuration( playlist_item_t * );
*/
VLC_API
void
playlist_Clear
(
playlist_t
*
,
bool
);
/** Enqueue an input item for preparsing */
VLC_API
int
playlist_PreparseEnqueue
(
playlist_t
*
,
input_item_t
*
);
/* Playlist sorting */
VLC_API
int
playlist_TreeMove
(
playlist_t
*
,
playlist_item_t
*
,
playlist_item_t
*
,
int
);
VLC_API
int
playlist_TreeMoveMany
(
playlist_t
*
,
int
,
playlist_item_t
**
,
playlist_item_t
*
,
int
);
...
...
modules/gui/macosx/playlist.m
View file @
050a1632
...
...
@@ -860,7 +860,7 @@
if
(
p_item
)
{
if
(
p_item
->
i_children
==
-
1
)
playlist_PreparseEnqueue
(
p_playlist
,
p_item
->
p_input
);
libvlc_MetaRequest
(
p_intf
->
p_libvlc
,
p_item
->
p_input
);
else
msg_Dbg
(
p_intf
,
"preparsing nodes not implemented"
);
}
...
...
modules/gui/macosx/playlistinfo.m
View file @
050a1632
...
...
@@ -212,7 +212,7 @@ static VLCInfo *_o_sharedInstance = nil;
[
o_image_well
setImage
:
[
NSImage
imageNamed
:
@"noart.png"
]];
}
else
{
if
(
!
input_item_IsPreparsed
(
p_item
))
playlist_PreparseEnqueue
(
pl_Get
(
VLCIntf
)
,
p_item
);
libvlc_MetaRequest
(
VLCIntf
->
p_libvlc
,
p_item
);
/* fill uri info */
char
*
psz_url
=
decode_URI
(
input_item_GetURI
(
p_item
));
...
...
src/libvlccore.sym
View file @
050a1632
...
...
@@ -334,7 +334,6 @@ playlist_NodeCreate
playlist_NodeDelete
playlist_NodeInsert
playlist_NodeRemoveItem
playlist_PreparseEnqueue
playlist_RecursiveNodeSort
playlist_ServicesDiscoveryAdd
playlist_ServicesDiscoveryControl
...
...
src/playlist/control.c
View file @
050a1632
...
...
@@ -160,17 +160,3 @@ static int PlaylistVAControl( playlist_t * p_playlist, int i_query, va_list args
return
VLC_SUCCESS
;
}
/*****************************************************************************
* Preparse control
*****************************************************************************/
/** Enqueue an item for preparsing */
int
playlist_PreparseEnqueue
(
playlist_t
*
p_playlist
,
input_item_t
*
p_item
)
{
playlist_private_t
*
p_sys
=
pl_priv
(
p_playlist
);
if
(
unlikely
(
p_sys
->
p_preparser
==
NULL
)
)
return
VLC_ENOMEM
;
playlist_preparser_Push
(
p_sys
->
p_preparser
,
p_item
);
return
VLC_SUCCESS
;
}
src/playlist/item.c
View file @
050a1632
...
...
@@ -766,7 +766,7 @@ static void GoAndPreparse( playlist_t *p_playlist, int i_mode,
input_item_IsPreparsed
(
p_item
->
p_input
)
==
false
&&
(
EMPTY_STR
(
psz_artist
)
||
(
EMPTY_STR
(
psz_album
)
)
)
)
playlist_PreparseEnqueue
(
p_playlist
,
p_item
->
p_input
);
libvlc_MetaRequest
(
p_playlist
->
p_libvlc
,
p_item
->
p_input
);
free
(
psz_artist
);
free
(
psz_album
);
}
...
...
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