Changeset e27ff9696e4ba67278a973febf1e2707172bd4a2

Show
Ignore:
Timestamp:
21/10/07 23:32:24 (1 year ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1193002344 +0000
git-parent:

[7c1af3c19c72db531ce4a0ccb0003f9dbaf1cbb4]

git-author:
Rafaël Carré <funman@videolan.org> 1193002344 +0000
Message:

playlist_Clear() should delete only the local playlist, not the root playlist (including the media library, and the read only services discovery)

Files:

Legend:

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

    r6ee1e19 re27ff96  
    231231{ 
    232232    if( !b_locked ) PL_LOCK; 
    233     playlist_NodeEmpty( p_playlist, p_playlist->p_root_category, VLC_TRUE ); 
    234     playlist_NodeEmpty( p_playlist, p_playlist->p_root_onelevel, VLC_TRUE ); 
     233    playlist_NodeEmpty( p_playlist, p_playlist->p_local_category, VLC_TRUE ); 
     234    playlist_NodeEmpty( p_playlist, p_playlist->p_local_onelevel, VLC_TRUE ); 
    235235    if( !b_locked ) PL_UNLOCK; 
    236236}