Page 1 of 1

get/set_Var with libVLC, possible?

Posted: 28 Jul 2009 13:48
by zone
I'm developing an app (with Delphi) that uses libvlc.dll to play/stream videos. I would like to get access to the vlc variables to make things like enable/disable recording.

Is it possible to get/set vlc variables without compiling code into VLC?

Re: get/set_Var with libVLC, possible?

Posted: 28 Jul 2009 21:14
by Rémi Denis-Courmont
libvlc_get_vlc_instance() returns the underlying VLC object. From there you can use the core VLC functions (from libvlccore library) such as var_Get/var_Set. However, you will need to rebuild your application with every new version. We don't maintain the libvlccore ABI.

Re: get/set_Var with libVLC, possible?

Posted: 29 Jul 2009 11:38
by zone
OK, thanks.

Re: get/set_Var with libVLC, possible?

Posted: 11 May 2015 19:07
by calanor
How?
I tried to include vlc_common.h, vlc_variables.h and others but I always get a lot of errors.

Re: get/set_Var with libVLC, possible?

Posted: 11 May 2015 19:56
by Rémi Denis-Courmont
libvlc_get_vlc_instance() was removed quite some time ago. It is no longer possible to change arbitrary internal variables.