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

Jeremy Vignelles jeremy.vignelles at dev3i.fr
Fri May 31 10:21:03 CEST 2019

> > 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