[vlc-devel] [RFC] dcp.cpp: Creation of access-demux module for DCP (using asdcplib)

Rémi Denis-Courmont remi at remlab.net
Mon Jun 3 12:25:04 CEST 2013


On Mon, 3 Jun 2013 13:05:38 +0300, Ilkka Ollakka <ileoo at videolan.org>
wrote:
> Any particular reason not using vlc xml_reader ability but directly
> libxml2?

There are more examples and documentations of libxml2 than the VLC
wrapper. However, using libxml2 directly from VLC plugin is INVALID. It
will lead to threading race conditions and invalid frees because libxml2 is
so poorly designed.

In other words, either you use the VLC wrapper, or you use another XML
library altogether.

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list