[vlc-devel] [PATCH 35/40] playlist: use playlist_ViewPlay(), simplify
RĂ©mi Denis-Courmont
remi at remlab.net
Sun May 14 17:46:05 CEST 2017
Pass NULL as node instead; this is equivalent.
---
src/playlist/item.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/playlist/item.c b/src/playlist/item.c
index bbc3fca970..929e8275eb 100644
--- a/src/playlist/item.c
+++ b/src/playlist/item.c
@@ -193,10 +193,7 @@ static void input_item_add_subitem_tree ( const vlc_event_t * p_event,
p_play_item = p_play_item->pp_children[0];
}
- playlist_Control( p_playlist, PLAYLIST_VIEWPLAY,
- pl_Locked,
- get_current_status_node( p_playlist ),
- p_play_item );
+ playlist_ViewPlay( p_playlist, NULL, p_play_item );
}
}
--
2.11.0
More information about the vlc-devel
mailing list