preset preferences options

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
cellplex
Blank Cone
Blank Cone
Posts: 19
Joined: 23 Sep 2005 23:20

preset preferences options

Postby cellplex » 23 Sep 2005 23:28

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.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 23 Sep 2005 23:40

its in the source. Just edit the appropriate module's file.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

cellplex
Blank Cone
Blank Cone
Posts: 19
Joined: 23 Sep 2005 23:20

Postby cellplex » 25 Sep 2005 12:36

Thanks for the reply. Could you or someone point out where in deinterlace.c module file to set these options ?

Thanks

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Postby xtophe » 26 Sep 2005 18:10

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
Xtophe

cellplex
Blank Cone
Blank Cone
Posts: 19
Joined: 23 Sep 2005 23:20

Postby cellplex » 29 Sep 2005 20:27

Thanks for the help.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 32 guests