Changeset 3646783cd4862a71c0ae29ee114918cdc98fafeb

Show
Ignore:
Timestamp:
15/06/08 00:04:43 (6 months ago)
Author:
Felix Paul Kühne <fkuehne@videolan.org>
git-committer:
Felix Paul Kühne <fkuehne@videolan.org> 1213481083 +0200
git-parent:

[967acfe76318ec2999308a47ee7fa43318d5723d]

git-author:
Felix Paul Kühne <fkuehne@videolan.org> 1213471434 +0200
Message:

Work-around a playlist-core bug which prevents 'intf-change' to be set on-time after the addition of new inputs.

However, this doubles the idle-CPU load, so we may to fix that in core properly..

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/macosx/intf.m

    r6175138 r3646783  
    273273{ 
    274274    intf_thread_t * p_intf = VLCIntf; 
     275    p_intf->p_sys->b_intf_update = true; 
    275276    p_intf->p_sys->b_playlist_update = true; 
    276     p_intf->p_sys->b_intf_update = true; 
    277277    p_intf->p_sys->b_playmode_update = true; 
    278278    p_intf->p_sys->b_current_title_update = true; 
     
    14531453        p_intf->p_sys->i_play_status = END_S; 
    14541454        p_intf->p_sys->b_intf_update = true; 
     1455        p_intf->p_sys->b_playlist_update = true; 
    14551456        [self playStatusUpdated: p_intf->p_sys->i_play_status]; 
    14561457        [o_embedded_window playStatusUpdated: p_intf->p_sys->i_play_status]; 
  • modules/gui/macosx/playlist.m

    rfd62942 r3646783  
    457457- (void)playlistUpdated 
    458458{ 
    459     unsigned int i; 
    460  
    461459    /* Clear indications of any existing column sorting */ 
    462     for( i = 0 ; i < [[o_outline_view tableColumns] count] ; i++ ) 
     460    for( unsigned int i = 0 ; i < [[o_outline_view tableColumns] count] ; i++ ) 
    463461    { 
    464462        [o_outline_view setIndicatorImage:nil inTableColumn: