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
a7342143
Commit
a7342143
authored
Aug 16, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: set "input-current" to NULL when appropriate
parent
3c2c9364
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/playlist/thread.c
src/playlist/thread.c
+4
-2
No files found.
src/playlist/thread.c
View file @
a7342143
...
...
@@ -223,10 +223,10 @@ static void PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
vlc_object_release
(
p_input_thread
);
p_input_thread
=
NULL
;
}
else
var_SetAddress
(
p_playlist
,
"input-current"
,
p_input_thread
);
}
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 */
...
...
@@ -446,6 +446,8 @@ static void LoopInput( playlist_t *p_playlist )
PL_DEBUG
(
"dead input"
);
PL_UNLOCK
;
var_SetAddress
(
p_playlist
,
"input-current"
,
NULL
);
/* WARNING: Input resource manipulation and callback deletion are
* incompatible with the playlist lock. */
if
(
!
var_InheritBool
(
p_input
,
"sout-keep"
)
)
...
...
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