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
7295d429
Commit
7295d429
authored
Mar 19, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: move input-current, fix race
See also
a6b259b7
.
parent
98503a2f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/playlist/thread.c
src/playlist/thread.c
+1
-2
No files found.
src/playlist/thread.c
View file @
7295d429
...
...
@@ -221,8 +221,6 @@ static bool PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
}
}
var_SetAddress
(
p_playlist
,
"input-current"
,
p_input_thread
);
/* TODO store art policy in playlist private data */
char
*
psz_arturl
=
input_item_GetArtURL
(
p_input
);
/* p_input->p_meta should not be null after a successful CreateThread */
...
...
@@ -240,6 +238,7 @@ static bool PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
PL_UNLOCK
;
var_TriggerCallback
(
p_playlist
,
"activity"
);
var_SetAddress
(
p_playlist
,
"input-current"
,
p_input_thread
);
PL_LOCK
;
return
p_input_thread
!=
NULL
;
...
...
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