Changeset 231a36af4f787ee52033de936b8e7d2ed4f06732

Show
Ignore:
Timestamp:
06/01/08 00:21:29 (3 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1212272489 +0200
git-parent:

[a717f3bb306a96e04a1ef0993a4f379d307ffa49]

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

Revert "Preparser: yield the playlist (NSDRCID 1)"

This reverts commit f3b97438a7451c340b27446d687c6c5603a8323a.

It creates a circular reference holding. (playlist is the parent of the preparser and hold a reference to the preparser during all the preparser life's span).

Files:

Legend:

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

    rf3b9743 r231a36a  
    480480void playlist_PreparseLoop( playlist_preparse_t *p_obj ) 
    481481{ 
    482     playlist_t *p_playlist = pl_Yield( p_obj )
     482    playlist_t *p_playlist = (playlist_t *)p_obj->p_parent
    483483    input_item_t *p_current; 
    484484    int i_activity; 
     
    558558    } 
    559559    vlc_object_unlock( p_obj ); 
    560     pl_Release( p_obj ); 
    561560} 
    562561