<br><br><div class="gmail_quote">On Tue, Feb 23, 2010 at 12:44 PM, git version control <span dir="ltr"><<a href="mailto:git@videolan.org">git@videolan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
vlc | branch: master | Jakob Leben <<a href="mailto:jleben@videolan.org">jleben@videolan.org</a>> | Tue Feb 23 12:39:41 2010 +0100| [abc84401cd082ccd70a8bb07f9d96c3cff12b122] | committer: Jakob Leben<br>
<br>
playlist: consistently change input item type when subitems are added<br>
<br>
> <a href="http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=abc84401cd082ccd70a8bb07f9d96c3cff12b122" target="_blank">http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=abc84401cd082ccd70a8bb07f9d96c3cff12b122</a><br>

---<br>
<br>
 src/input/item.c    |    4 ----<br>
 src/playlist/item.c |   12 ++++++++++--<br>
 2 files changed, 10 insertions(+), 6 deletions(-)<br>
<br>
diff --git a/src/input/item.c b/src/input/item.c<br>
index 9872e99..416ec19 100644<br>
--- a/src/input/item.c<br>
+++ b/src/input/item.c<br>
@@ -254,10 +254,6 @@ static void post_subitems( input_item_node_t *p_node )<br>
  * the input item children. */<br>
 void input_item_PostSubItem( input_item_t *p_parent, input_item_t *p_child )<br>
 {<br>
-    vlc_mutex_lock( &p_parent->lock );<br>
-    p_parent->i_type = ITEM_TYPE_PLAYLIST;<br>
-    vlc_mutex_unlock( &p_parent->lock );</blockquote><div><br></div><div>In the case of libvlc where the playlist don't work this won't work anymore. What do you think about having it at both places?</div>
<div><br></div><div>Pierre. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> </blockquote></div><br>