I'm currently implementing the argument option for libvlc_new in rust.
Because of rust internal Strings to c_string conversion I have to ask: does the argument have to be alive longer than the call of libvlc_new ?
Example in pseudo code
Code: Select all
var a = ["--no-video"];
var instance = libvlc_new(1,a);
free(a);
.. use instance