[vlc-commits] directory: use ES_OUT_POST_SUBNODE
Rémi Denis-Courmont
git at videolan.org
Sun Jun 4 18:25:37 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jun 4 19:17:58 2017 +0300| [16af64b7890abc93aa17494de9d1a5f1b6d3b778] | committer: Rémi Denis-Courmont
directory: use ES_OUT_POST_SUBNODE
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=16af64b7890abc93aa17494de9d1a5f1b6d3b778
---
modules/demux/directory.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/demux/directory.c b/modules/demux/directory.c
index ffc87b0fd6..73f59f7665 100644
--- a/modules/demux/directory.c
+++ b/modules/demux/directory.c
@@ -42,7 +42,9 @@ static int Demux( demux_t *p_demux )
return VLC_EGENERIC;
}
- input_item_node_PostAndDelete( p_node );
+ if (es_out_Control(p_demux->out, ES_OUT_POST_SUBNODE, p_node))
+ input_item_node_Delete(p_node);
+
return VLC_SUCCESS;
}
More information about the vlc-commits
mailing list