Changeset 11f5c39c9599017cb035f6eb17930f22a0997d45

Show
Ignore:
Timestamp:
13/08/08 00:57:24 (3 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1218581844 +0200
git-parent:

[f622155e79ffc1deed8eba267627dd2e9760dca6]

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

playlist: Warning fixes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/playlist/control.c

    rfa81ade r11f5c39  
    4949    pl = libvlc_priv (p_this->p_libvlc)->p_playlist; 
    5050 
    51     assert( pl != p_this /* This does not make sense to yield the playlist 
     51    assert( VLC_OBJECT(pl) != p_this /* This does not make sense to yield the playlist 
    5252    using pl_Yield. use vlc_object_yield in this case */ ); 
    5353 
     
    6262    assert( pl != NULL ); 
    6363     
    64     assert( pl != p_this /* The rule is that pl_Release() should act on 
     64    assert( VLC_OBJECT(pl) != p_this /* The rule is that pl_Release() should act on 
    6565    the same object than pl_Yield() */ ); 
    6666 
     
    8686    playlist_item_t *p_item, *p_node; 
    8787    vlc_value_t val; 
     88 
     89    PL_ASSERT_LOCKED; 
    8890 
    8991    if( !vlc_object_alive( p_playlist ) ) 
     
    177179        break; 
    178180    } 
    179     vlc_object_signal_maybe( VLC_OBJECT(p_playlist) ); 
     181    vlc_object_signal_unlocked( p_playlist ); 
    180182 
    181183    return VLC_SUCCESS;