[vlc-devel] [PATCH] Add new API to libvlc for persistent equalizer settings.

Rémi Denis-Courmont remi at remlab.net
Sat Sep 1 10:21:22 CEST 2012


On Fri, 31 Aug 2012 16:26:52 +0100, Mark Lee
<mark.lee at capricasoftware.co.uk> wrote:
> My first idea to fix this issue is simply to always store the audio
filter
> chain in the config even if there is an aout, so:
> 
> 743    if( p_aout )
> 744        var_SetString( p_aout, psz_variable, psz_new );
> 745    config_PutPsz( p_obj, psz_variable, psz_new );
> 
> This works... but I'm not sure how correct it is.
> 
> If that is acceptable I will send another patch, if not I'll dig some
more.
> 
> Any comments or other ideas?

It won't work with multiple media players per process. The configuration
is process-wide.

You should probably set a variable on the media player object instead.

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list