NEW API FUNC [vlc_config_update]

This forum is about all development around libVLC.
basos
Blank Cone
Blank Cone
Posts: 24
Joined: 17 Jul 2008 14:19

NEW API FUNC [vlc_config_update]

Postby basos » 13 Apr 2009 22:08

There is implemented a new libvlc function named
libvlc_config_update

Its purpose is to update a module's command configuration parameter real time (while the module is in use). It also updates the module's config anyway, for to remember the settings between playbacks and optionaly for permanent storage (depending whether config is autosaved).

I think it is a needed function to make more interactive vlc based applications as it avoids the need to restart the host program to update a vlc config parameter. It could link external GUI controls with the configuration update.

As an example consider the case u have a video filter (say contrast adjustment) and you want to update a parameter while the video is playing (say contrast) from a custom slider. calling this function from the slider's change event handler could do the trick. (this is tested).


This patch has been published on the ML but not discussed at all so i open it here.

basos

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 2 guests