Commit d12c6644 authored by Mirsal Ennaime's avatar Mirsal Ennaime

Avoid a deadlock.

parent e489a053
...@@ -967,7 +967,6 @@ static int TrackChange( vlc_object_t *p_this, const char *psz_var, ...@@ -967,7 +967,6 @@ static int TrackChange( vlc_object_t *p_this, const char *psz_var,
p_sys->b_meta_read = false; p_sys->b_meta_read = false;
p_playlist = pl_Yield( p_intf ); p_playlist = pl_Yield( p_intf );
PL_LOCK;
p_input = p_playlist->p_input; p_input = p_playlist->p_input;
if( !p_input ) if( !p_input )
...@@ -978,7 +977,6 @@ static int TrackChange( vlc_object_t *p_this, const char *psz_var, ...@@ -978,7 +977,6 @@ static int TrackChange( vlc_object_t *p_this, const char *psz_var,
} }
vlc_object_yield( p_input ); vlc_object_yield( p_input );
PL_UNLOCK;
pl_Release( p_playlist ); pl_Release( p_playlist );
p_item = input_GetItem( p_input ); p_item = input_GetItem( p_input );
......
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