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

basos g noxelia at gmail.com
Thu Dec 11 21:12:02 CET 2008

2008/12/11 Rémi Denis-Courmont <rem at videolan.org>:
> 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.

You are right. I haven't thought of it. It worked from vlccore

New version of the API. Now it is moved to vlc_main.h and is
implemented at src/libvlc.c thus libvlccore.dll

Also diffed against trunk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Added-libvlc_get_internal_object-functions-to-the-IN.patch
Type: text/x-diff
Size: 3859 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20081211/f65e6e69/attachment.patch>

More information about the vlc-devel mailing list