[vlc-devel] How do I use new Control API to execute equivalent of VLC_positionSet?

null null funkyworklehead at gmail.com
Fri Nov 14 04:21:01 CET 2008


In src/control/libvlc_internal.h I see the definition of  libvlc_instance_t
which has a pointer to a p_liblvc_int and the definition of
libvlc_media_instance_t.

http://wiki.videolan.org/LibVLC_Tutorial indicates that using VLC_TimeSet is
"legacy" and I'm having trouble using it, so I'm wondering how to use the
"new" stuff.

I agree that wiki's can send you down rat-holes, but sometimes they can be
more enlightening than digging through the code.




On Thu, Nov 13, 2008 at 8:38 AM, Rémi Denis-Courmont <rem at videolan.org>wrote:

> Le jeudi 13 novembre 2008 18:31:31 null null, vous avez écrit :
> > I'm experimenting with a plugin that uses intf_thread_t.  I tried doing
> > something like
> >  VLC_TimeSet(p_intf->p_libvlc->i_object_id, 10, 0);
> > But now I see that I'm supposed to be using the new API.
> > http://wiki.videolan.org/LibVLC_Tutorial
> >
> > Its not clear to me how I'm supposed to get a libvlc_instance_t pointer
> > from a libvlc_int_t
>
> That's probably a typo for the same thing.
>
> > or how to get a libvlc_media_instance_t for a libvlc_int_t.
>
> Probably a typo for libvlc_media_t.
>
> Bottom line: never trust unrestricted wikis.
>
> --
> Rémi Denis-Courmont
> http://git.remlab.net/cgi-bin/gitweb.cgi?p=vlc-courmisch.git;a=summary
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20081113/c0a6ea11/attachment.html>


More information about the vlc-devel mailing list