[vlc-devel] [PATCH 0/2] Libvlc formatted log callback

Jeremy Vignelles jeremy.vignelles at dev3i.fr
Wed Jun 5 11:12:02 CEST 2019


Hi,

I don't know what happened to my last mail and why I received it as an attachment.

I'm sending it again here, as text, to ask for other opinions:

> > > I like the last one, the current usage is not affected at all.
> > 
> > +1
>
> I still need to try that option, I don't know if getting a va_list as a void* in a callback, and passing it back to a native function (like vasprintf, that uses va_copy...) will work on all platforms.
> This feels quite wrong to assume that va_list is just a pointer.
> 
> Moreover, we would need a libvlc_vasprintf exposed anyway, and from what I've read from Remi's comments, that's not really wanted either? I'd really prefer the "already formatted" way.


More information about the vlc-devel mailing list