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
9c221023
Commit
9c221023
authored
Aug 16, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: do not copy string solely for debug
parent
734a5055
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/playlist/thread.c
src/playlist/thread.c
+1
-3
No files found.
src/playlist/thread.c
View file @
9c221023
...
...
@@ -225,17 +225,15 @@ static void PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
/* TODO store art policy in playlist private data */
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 */
bool
b_has_art
=
!
EMPTY_STR
(
psz_arturl
);
if
(
!
b_has_art
||
strncmp
(
psz_arturl
,
"attachment://"
,
13
)
)
{
PL_DEBUG
(
"requesting art for
%s"
,
psz_name
);
PL_DEBUG
(
"requesting art for
new input thread"
);
libvlc_ArtRequest
(
p_playlist
->
p_libvlc
,
p_input
,
META_REQUEST_OPTION_NONE
);
}
free
(
psz_arturl
);
free
(
psz_name
);
PL_UNLOCK
;
var_TriggerCallback
(
p_playlist
,
"activity"
);
...
...
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