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
5091d5e1
Commit
5091d5e1
authored
Apr 26, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A really small optim (art fetcher).
parent
a1aca436
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
src/playlist/fetcher.c
src/playlist/fetcher.c
+6
-7
No files found.
src/playlist/fetcher.c
View file @
5091d5e1
...
...
@@ -197,10 +197,6 @@ static int FindArt( playlist_fetcher_t *p_fetcher, input_item_t *p_item )
/* */
psz_album
=
input_item_GetAlbum
(
p_item
);
psz_artist
=
input_item_GetArtist
(
p_item
);
psz_title
=
input_item_GetTitle
(
p_item
);
if
(
!
psz_title
)
psz_title
=
input_item_GetName
(
p_item
);
if
(
psz_album
&&
psz_artist
)
{
msg_Dbg
(
p_fetcher
,
"searching art for %s - %s"
,
...
...
@@ -208,10 +204,13 @@ static int FindArt( playlist_fetcher_t *p_fetcher, input_item_t *p_item )
}
else
{
msg_Dbg
(
p_fetcher
,
"searching art for %s"
,
psz_title
);
psz_title
=
input_item_GetTitle
(
p_item
);
if
(
!
psz_title
)
psz_title
=
input_item_GetName
(
p_item
);
msg_Dbg
(
p_fetcher
,
"searching art for %s"
,
psz_title
);
free
(
psz_title
);
}
free
(
psz_title
);
/* Fetch the art url */
p_fetcher
->
p_private
=
p_item
;
...
...
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