Changeset 5def9323b180a8d22ea79c136132acbfbc4143fd

Show
Ignore:
Timestamp:
04/10/07 00:53:04 (1 year ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1191451984 +0000
git-parent:

[d17a9720e380d98caa205fd1f3833f706167169d]

git-author:
Rafaël Carré <funman@videolan.org> 1191451984 +0000
Message:

ncurses: now play items from the top parent node (unless playing a specific node)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/ncurses.c

    r621b141 r5def932  
    583583                        == -1 ) 
    584584                { 
    585                     playlist_item_t *p_item = 
     585                    playlist_item_t *p_item, *p_parent; 
     586                    p_item = p_parent = 
    586587                            p_sys->pp_plist[p_sys->i_box_plidx]->p_item; 
     588 
     589                    while( p_parent->p_parent ) 
     590                        p_parent = p_parent->p_parent; 
    587591                    playlist_Control( p_sys->p_playlist, PLAYLIST_VIEWPLAY, 
    588                                       VLC_TRUE, p_item->p_parent, 
    589                         p_sys->pp_plist[p_sys->i_box_plidx]->p_item ); 
     592                                      VLC_TRUE, p_parent, p_item ); 
    590593                } 
    591594                else