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
02298603
Commit
02298603
authored
Nov 26, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: cosmetics
parent
d6129028
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
src/playlist/thread.c
src/playlist/thread.c
+3
-7
No files found.
src/playlist/thread.c
View file @
02298603
...
...
@@ -255,14 +255,10 @@ static int PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
/* TODO store art policy in playlist private data */
if
(
var_GetInteger
(
p_playlist
,
"album-art"
)
==
ALBUM_ART_WHEN_PLAYED
)
{
bool
b_has_art
;
char
*
psz_arturl
,
*
psz_name
;
psz_arturl
=
input_item_GetArtURL
(
p_input
);
psz_name
=
input_item_GetName
(
p_input
);
char
*
psz_arturl
=
input_item_GetArtURL
(
p_input
);
char
*
psz_name
=
input_item_GetName
(
p_input
);
/* p_input->p_meta should not be null after a successful CreateThread */
b_has_art
=
!
EMPTY_STR
(
psz_arturl
);
b
ool
b
_has_art
=
!
EMPTY_STR
(
psz_arturl
);
if
(
!
b_has_art
||
strncmp
(
psz_arturl
,
"attachment://"
,
13
)
)
{
...
...
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