Skip to content
  • Filip Roséen's avatar
    gui/qt: fix PLModel::getPLRootType · 8a38e84f
    Filip Roséen authored and François Cartegnie's avatar François Cartegnie committed
    
    
    This commit fixes the below:
    
     - Since we are dealing with the playlist, it should be locked for the
       operations inside PLModel::getPLRootType.
    
     - There is a problem associated with comparing the value of the
       different node's p_input (input_item_t*).
    
       Given that the input_item_t* can be shared across several nodes, we
       could end up in a state where the prior implementation leads to a
       false-positive.
    
    Signed-off-by: default avatarFrancois Cartegnie <fcvlcdev@free.fr>
    8a38e84f