Page 1 of 1

preset preferences options

Posted: 23 Sep 2005 23:28
by cellplex
Hi all, I would like to set certain configuration settings such as video filters already set so that when a user installs vlc these preferences are already setup. Is this something that is done when compiling the source or set in the NSIS installer script?

If it's in the source files somewhere could someone point out which file to modify prior to compiling?

These are the two lines from my vlcrc file that I would like to preset in the install package.


vout-filter=deinterlace
deinterlace-mode=blend


Cheers.

Posted: 23 Sep 2005 23:40
by dionoea
its in the source. Just edit the appropriate module's file.

Posted: 25 Sep 2005 12:36
by cellplex
Thanks for the reply. Could you or someone point out where in deinterlace.c module file to set these options ?

Thanks

Posted: 26 Sep 2005 18:10
by xtophe
You need to edit src/libvlc.h to add deinterlcace as a default value where we create the cout-dilter config variable ( something like add_module())

And change the default value when at the start of deinterlace.c where there are something like add_string(...)

hth

Posted: 29 Sep 2005 20:27
by cellplex
Thanks for the help.