Page 1 of 1

How to override the default sout option value

Posted: 21 Dec 2009 11:49
by kryptonite
I had previously run VLC and saved a playlist.
Later, I tried running my JVLC-based app. Now instead of using the URL string that I provide, it seems to pick up & try playing the default sout string from vlcrc.
How can I force vlc to play the provided url? (I'm using VLC 1.0.3)

Re: How to override the default sout option value

Posted: 22 Dec 2009 09:31
by Jean-Baptiste Kempf
--sout=""

Re: How to override the default sout option value

Posted: 23 Dec 2009 08:26
by kryptonite
Thanks, Jean.
I had actually tried that, but the vlc tries playing an empty stream, which fails again.
Apparently the --reset-config was not behaving as intended when passed as an option to create the libvlc instance.
So I used --reset-config in a prior call which checks the libvlc version: vlc.exe --reset-config -I dummy -version --dummy-quiet vlc:\quit

All's well now.