[vlc-devel] [PATCH] Added libvlc_get_internal_object functions to the PUBLIC API

Rémi Denis-Courmont rem at videolan.org
Thu Dec 11 16:55:03 CET 2008

Le jeudi 11 décembre 2008 17:44:48 basos g, vous avez écrit :
> > I think the whole point of having two layers of APIs is to _not_ do that.
> >
> > --
> > Rémi Denis-Courmont
> Understood. Thats why this is a hackish API.
> To state an example i used it to constuct the "open device" dialog
> outside vlc. I re-used vlc code as well as internal API functions
> acting upon libvlc object.
> No offence of not included. I posted it mainly for future reference by
> another person.

The thing is that this API is only useful if you use libvlccore directly. 
Otherwise, you can really not do anything useful with the libvlc instance 
pointer. Therefore, I think the yield and retain function are useless - you 
should can vlc_object_* directly at that point.

As for, it might be OK, if we can put it inside libvlccore rather than libvlc. 
Then at least, we can get proper run-time library version dependency.

Rémi Denis-Courmont

More information about the vlc-devel mailing list