Changeset 248d9c5273dadcce5485eb2c50bb035354451e6e

Show
Ignore:
Timestamp:
14/10/07 22:21:56 (1 year ago)
Author:
Damien Fouilleul <damienf@videolan.org>
git-committer:
Damien Fouilleul <damienf@videolan.org> 1192393316 +0000
git-parent:

[7f3af96e38437fd97b5c212715840806f46b7ca1]

git-author:
Damien Fouilleul <damienf@videolan.org> 1192393316 +0000
Message:

playlist.c: removed potential deadlock and duplicate signalling

Files:

Legend:

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

    r222960c r248d9c5  
    335335             { 
    336336                msg_Dbg( p_playlist, "nothing to play" ); 
     337                p_playlist->status.i_status = PLAYLIST_STOPPED; 
     338                PL_UNLOCK 
     339 
    337340                if( b_playexit == VLC_TRUE ) 
    338341                { 
     
    340343                    vlc_object_kill( p_playlist->p_libvlc ); 
    341344                } 
    342                 p_playlist->status.i_status = PLAYLIST_STOPPED; 
    343                 PL_UNLOCK 
    344  
    345345                ObjectGarbageCollector( p_playlist, VLC_TRUE ); 
    346346                return; 
  • src/playlist/thread.c

    rc38c370 r248d9c5  
    139139    // Tell playlist to go to last loop 
    140140    vlc_object_kill( p_playlist ); 
    141     playlist_Signal( p_playlist ); 
    142141 
    143142    // Kill preparser