Changeset c05f65e989890a59efcfe80402fad3574bbf4a13

Show
Ignore:
Timestamp:
07/05/08 15:50:01 (2 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1215265801 +0200
git-parent:

[560016e367f498eccd4559a6c939895ef9ffbe26]

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

qt4: Use playlist_CurrentInput().

Should fix a race condition about freed input usage.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/qt4/input_manager.cpp

    r00b9584 rc05f65e  
    591591        /* we are working as a dialogs provider */ 
    592592        playlist_t *p_playlist = pl_Yield( p_intf ); 
    593         p_input = p_playlist->p_input
     593        p_input = playlist_CurrentInput( p_playlist )
    594594        emit inputChanged( p_input ); 
     595        vlc_object_release( p_input ); 
    595596    } 
    596597}