Loop option

This forum is about all development around libVLC.
Idsa
Blank Cone
Blank Cone
Posts: 78
Joined: 22 Oct 2009 10:59

Loop option

Postby Idsa » 27 Nov 2009 09:16

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?

Idsa
Blank Cone
Blank Cone
Posts: 78
Joined: 22 Oct 2009 10:59

Re: Loop option

Postby Idsa » 11 Dec 2009 07:38

Some comments?

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: Loop option

Postby Jean-Baptiste Kempf » 11 Dec 2009 08:55

Have you tried to give it at the creation of VLC instance?
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.

Idsa
Blank Cone
Blank Cone
Posts: 78
Joined: 22 Oct 2009 10:59

Re: Loop option

Postby Idsa » 12 Dec 2009 08:37

Have you tried to give it at the creation of VLC instance?
Yes, of course. That was the first thing I tried.

Idsa
Blank Cone
Blank Cone
Posts: 78
Joined: 22 Oct 2009 10:59

Re: Loop option

Postby Idsa » 19 Dec 2009 21:11

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?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 44 guests