Changeset 491e2b0e7ce2400f89c6c669d12275288cc0fdea

Show
Ignore:
Timestamp:
12/07/08 22:27:06 (5 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1215894426 +0200
git-parent:

[a2846406835a6143c1c70623aa9fe53917b6a41a]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1215891889 +0200
Message:

text: Remove forbidden, and subject to race, playlist input access.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/text/strings.c

    rd666030 r491e2b0  
    665665 
    666666    playlist_t *p_playlist = pl_Yield( p_object ); 
    667     input_thread_t *p_input = p_playlist->p_input
     667    input_thread_t *p_input = playlist_CurrentInput( p_playlist )
    668668    input_item_t *p_item = NULL; 
    669669    pl_Release( p_object ); 
    670670    if( p_input ) 
    671671    { 
    672         vlc_object_yield( p_input ); 
    673672        p_item = input_GetItem(p_input); 
    674673    }