[vlc-devel] autoloop property

Sergey Radionov rsatom at gmail.com
Mon Jul 25 17:38:14 CEST 2011


Do you tell about playlist_t ? and It is not used in libvlc, or it is not
accessable via public libvlc api?

I am asking  because I have found following code in qt4 plugin:

void MainInputManager::loopRepeatLoopStatus()
{
    /* Toggle Normal -> Loop -> Repeat -> Normal ... */
    if( var_GetBool( THEPL, "repeat" ) )
        var_SetBool( THEPL, "repeat", false );
    else if( var_GetBool( THEPL, "loop" ) )
    {
        var_SetBool( THEPL, "loop", false );
        var_SetBool( THEPL, "repeat", true );
    }
    else
        var_SetBool( THEPL, "loop", true );
}

Why I can't use same method via libvlc?

2011/7/25 Rémi Denis-Courmont <remi at remlab.net>

> Le lundi 25 juillet 2011 17:35:25 Sergey Radionov, vous avez écrit :
> > I tried to find solution for http://trac.videolan.org/vlc/ticket/2934,
> and
> > not found any way to set "autoloop" property via libvlc public API. Does
> it
> > exists?
>
> --loop and --repeat are VLC playlist options. Since LibVLC does not use the
> VLC playlist, this won't work. You need to loop manually.
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> http://fi.linkedin.com/in/remidenis
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110725/ef3a54dc/attachment.html>


More information about the vlc-devel mailing list