How to override the default sout option value

This forum is about all development around libVLC.
kryptonite
Blank Cone
Blank Cone
Posts: 52
Joined: 22 May 2009 12:01

How to override the default sout option value

Postby kryptonite » 21 Dec 2009 11:49

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)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to override the default sout option value

Postby Jean-Baptiste Kempf » 22 Dec 2009 09:31

--sout=""
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

kryptonite
Blank Cone
Blank Cone
Posts: 52
Joined: 22 May 2009 12:01

Re: How to override the default sout option value

Postby kryptonite » 23 Dec 2009 08:26

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 15 guests