[vlc-commits] playlist: use playlist_ViewPlay(), simplify
Rémi Denis-Courmont
git at videolan.org
Sun May 14 18:39:34 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May 14 17:24:29 2017 +0300| [872bedea9c88b62efd08a57a48a4d54ca17c55ba] | committer: Rémi Denis-Courmont
playlist: use playlist_ViewPlay(), simplify
Pass NULL as node instead; this is equivalent.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=872bedea9c88b62efd08a57a48a4d54ca17c55ba
---
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 );
}
}
More information about the vlc-commits
mailing list