Commit f3b97438 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Preparser: yield the playlist (NSDRCID 1)

(Not-So-Dumb-References-Checker IDentifier one)
parent 48c51ebb
...@@ -479,7 +479,7 @@ void playlist_LastLoop( playlist_t *p_playlist ) ...@@ -479,7 +479,7 @@ void playlist_LastLoop( playlist_t *p_playlist )
*/ */
void playlist_PreparseLoop( playlist_preparse_t *p_obj ) void playlist_PreparseLoop( playlist_preparse_t *p_obj )
{ {
playlist_t *p_playlist = (playlist_t *)p_obj->p_parent; playlist_t *p_playlist = pl_Yield( p_obj );
input_item_t *p_current; input_item_t *p_current;
int i_activity; int i_activity;
...@@ -557,6 +557,7 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj ) ...@@ -557,6 +557,7 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj )
vlc_object_lock( p_obj ); vlc_object_lock( p_obj );
} }
vlc_object_unlock( p_obj ); vlc_object_unlock( p_obj );
pl_Release( p_obj );
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment