Changeset 663adcbfff9a4a72d6b4167ed2a85335ba4cf845

Show
Ignore:
Timestamp:
18/08/07 06:09:55 (1 year ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1187410195 +0000
git-parent:

[827cc3b1e46045174e5824c936ba128fb63e0252]

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

playlist/services_discovery.c: Rework category handling.

Files:

Legend:

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

    r827cc3b r663adcb  
    186186    msg_Dbg( p_parent->p_playlist, "Adding %s in %s", p_input->psz_name, psz_cat ); 
    187187 
    188     /* If p_child is in root category (this is clearly a hack) and we have a cat*/ 
     188    /* If p_parent is in root category (this is clearly a hack) and we have a cat */ 
    189189    if( !EMPTY_STR(psz_cat) && 
    190         p_parent == playlist_ItemToNode( p_parent->p_playlist, p_parent, VLC_FALSE )
     190        p_parent->p_parent == p_parent->p_playlist->p_root_category
    191191    { 
    192192        /* */