Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d64350b4
Commit
d64350b4
authored
Dec 31, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: remove playlist_AskForArtEnqueue() (refs #5460)
parent
df07ba0d
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
4 additions
and
18 deletions
+4
-18
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
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+1
-1
src/libvlccore.sym
src/libvlccore.sym
+0
-1
src/playlist/control.c
src/playlist/control.c
+0
-10
src/playlist/thread.c
src/playlist/thread.c
+1
-1
No files found.
include/vlc_playlist.h
View file @
d64350b4
...
...
@@ -295,9 +295,6 @@ VLC_API void playlist_Clear( playlist_t *, bool );
/** Enqueue an input item for preparsing */
VLC_API
int
playlist_PreparseEnqueue
(
playlist_t
*
,
input_item_t
*
);
/** Request the art for an input item to be fetched */
VLC_API
int
playlist_AskForArtEnqueue
(
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 @
d64350b4
...
...
@@ -885,7 +885,7 @@
p_item
=
[[
o_outline_view
itemAtRow
:
indexes
[
i
]]
pointerValue
];
if
(
p_item
&&
p_item
->
i_children
==
-
1
)
playlist_AskForArtEnqueue
(
p_playlist
,
p_item
->
p_input
);
libvlc_ArtRequest
(
p_intf
->
p_libvlc
,
p_item
->
p_input
);
}
[
self
playlistUpdated
];
}
...
...
modules/gui/macosx/playlistinfo.m
View file @
d64350b4
...
...
@@ -364,7 +364,7 @@ error:
-
(
IBAction
)
downloadCoverArt
:(
id
)
sender
{
playlist_t
*
p_playlist
=
pl_Get
(
VLCIntf
);
if
(
p_item
)
playlist_AskForArtEnqueue
(
p_playlist
,
p_item
);
if
(
p_item
)
libvlc_ArtRequest
(
VLCIntf
->
p_libvlc
,
p_item
);
}
-
(
input_item_t
*
)
item
...
...
modules/gui/qt4/input_manager.cpp
View file @
d64350b4
...
...
@@ -654,7 +654,7 @@ void InputManager::requestArtUpdate( input_item_t *p_item )
if
(
status
&
(
ITEM_ART_NOTFOUND
|
ITEM_ART_FETCHED
)
)
return
;
}
playlist_AskForArtEnqueue
(
pl_Get
(
p_intf
)
,
p_item
);
libvlc_ArtRequest
(
p_intf
->
p_libvlc
,
p_item
);
/* No input will signal the cover art to update,
* let's do it ourself */
if
(
b_current_item
)
...
...
src/libvlccore.sym
View file @
d64350b4
...
...
@@ -309,7 +309,6 @@ plane_CopyPixels
playlist_Add
playlist_AddExt
playlist_AddInput
playlist_AskForArtEnqueue
playlist_AssertLocked
playlist_ChildSearchName
playlist_Clear
...
...
src/playlist/control.c
View file @
d64350b4
...
...
@@ -174,13 +174,3 @@ int playlist_PreparseEnqueue( playlist_t *p_playlist, input_item_t *p_item )
playlist_preparser_Push
(
p_sys
->
p_preparser
,
p_item
);
return
VLC_SUCCESS
;
}
int
playlist_AskForArtEnqueue
(
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_fetcher_Push
(
p_sys
->
p_preparser
,
p_item
);
return
VLC_SUCCESS
;
}
src/playlist/thread.c
View file @
d64350b4
...
...
@@ -246,7 +246,7 @@ static int PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
if
(
!
b_has_art
||
strncmp
(
psz_arturl
,
"attachment://"
,
13
)
)
{
PL_DEBUG
(
"requesting art for %s"
,
psz_name
);
playlist_AskForArtEnqueue
(
p_playlist
,
p_input
);
libvlc_ArtRequest
(
p_playlist
->
p_libvlc
,
p_input
);
}
free
(
psz_arturl
);
free
(
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