[vlc-devel] var_Set returns variable not found

Pierre d'Herbemont pdherbemont at free.fr
Mon May 5 18:53:51 CEST 2008


On May 5, 2008, at 6:17 PM, jboileau wrote:
> I was able to get a little further in my attempt at setting variables
> in plugins. My first test is to change the marquee text. I am using
> functions exposed in libvlc-control in my application but now I have
> tried some of the functions in libvlc itself to do this. The code
> below seems to be in the right direction. I do get a valid object from
> VLC_OBJECT_FIND_NAME, at least a valid pointer. But the call to
> var_Set returns -30 which is variable not found.

You could create it before setting its value. I think it should work  
just fine.

Pierre.



More information about the vlc-devel mailing list