]> git.sesse.net Git - vlc/blobdiff - modules/demux/playlist/qtl.c
input_item: compress two functions into one and rename "Add" into "Post" for clarity...
[vlc] / modules / demux / playlist / qtl.c
index 145676a1085cbfaef8a89a2c1cf185cf8152bd8f..d10d4f5f23c8e5dad7384ab72e9317b98baf1132 100644 (file)
@@ -318,8 +318,7 @@ static int Demux( demux_t *p_demux )
             input_item_node_AppendItem( p_subitems, p_input );
             vlc_gc_decref( p_input );
         }
-        input_item_AddSubItemTree( p_subitems );
-        input_item_node_Delete( p_subitems );
+        input_item_node_PostAndDelete( p_subitems );
     }
 
     i_ret = 0; /* Needed for correct operation of go back */