Page 1 of 1

Loop option

Posted: 27 Nov 2009 09:16
by Idsa
I need to set a --loop VLC option. I can do it using old libvlc: call VLC_Create and then call VLC_Init. But using method libvlc_new this option does not work.

Here RĂ©mi Denis-Courmont says it is just a GUI feature and that's why it can't be set through libvlc. But how then does it work throught VLC_Init? And how then can I make VLC not to stop video after the end is reached?

Re: Loop option

Posted: 11 Dec 2009 07:38
by Idsa
Some comments?

Re: Loop option

Posted: 11 Dec 2009 08:55
by Jean-Baptiste Kempf
Have you tried to give it at the creation of VLC instance?

Re: Loop option

Posted: 12 Dec 2009 08:37
by Idsa
Have you tried to give it at the creation of VLC instance?
Yes, of course. That was the first thing I tried.

Re: Loop option

Posted: 19 Dec 2009 21:11
by Idsa
Looks like I have found this feature at trac: http://trac.videolan.org/vlc/changeset/ ... b9fc6440cd
Even repeat option (which I really need) is implemented for playlist. But every third thread at this forum suggests to implement playlist by myself. Why? How to implement such an internal functionality like repeating without unloading after end is reached?