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

Rémi Denis-Courmont remi at remlab.net
Fri Jun 28 15:57:06 CEST 2013


On Fri, 28 Jun 2013 15:33:39 +0200, "Simona-Marinela P."
<simona.marinela.prodea at gmail.com> wrote:
> After trying to use strings instead of arrays of chars, I realised that
> asdcp functions receive as parameters pointers to chars, so the only
> members that could be strings would be pklfile and maybe path (since the
> vlc_path2uri also takes as parameters pointers to char). So I think
there
> is no point in changing that, it would make the code even more
tangled...

Uh? Isn't that what c_str() is for?

The main point is you don't need to care about garbage collection with
objects within objects.

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



More information about the vlc-devel mailing list