Changeset bbd88529842f240f4bbe8a66b2e4b8d4a554d75d

Show
Ignore:
Timestamp:
06/14/08 16:14:43 (3 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1213452883 +0200
git-parent:

[89237ca2e9266e3cbbd8f561585443eba4584c6d]

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

input: Don't do NotifyPlaylist?() now that the playlist properly listen to input item event.

Files:

Legend:

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

    rd01611b rbbd8852  
    3636 
    3737static void UpdateBookmarksOption( input_thread_t * ); 
    38 static void NotifyPlaylist( input_thread_t * ); 
    3938 
    4039/**************************************************************************** 
     
    202201            if( !p_input->b_preparsing ) 
    203202            { 
    204                 NotifyPlaylist( p_input ); 
    205203                vlc_event_t event; 
    206204                event.type = vlc_InputItemInfoChanged; 
     
    274272            if( !p_input->b_preparsing ) 
    275273            { 
    276                 NotifyPlaylist( p_input ); 
    277274                vlc_event_t event; 
    278275                event.type = vlc_InputItemInfoChanged; 
     
    310307            if( !p_input->b_preparsing ) 
    311308            { 
    312                 NotifyPlaylist( p_input ); 
    313309                vlc_event_t event; 
    314310                event.type = vlc_InputItemNameChanged; 
     
    609605            return VLC_EGENERIC; 
    610606    } 
    611 } 
    612  
    613 static void NotifyPlaylist( input_thread_t *p_input ) 
    614 { 
    615     /* FIXME: We need to avoid that dependency on the playlist 
    616      * because it is a circular dependency: 
    617      * ( playlist -> input -> playlist ) */ 
    618     playlist_t *p_playlist = pl_Yield( p_input ); 
    619     if( VLC_OBJECT(p_playlist) == p_input->p_parent ) 
    620         var_SetInteger( p_playlist, "item-change", 
    621                         p_input->p->input.p_item->i_id ); 
    622     pl_Release( p_input ); 
    623607} 
    624608