[vlc-devel] commit: libvlc: Export libvlc_media_player_get_input_thread(). (Pierre d' Herbemont )

Rafaël Carré rafael.carre at gmail.com
Fri Jan 29 13:00:42 CET 2010


Le 29/01/10 12:49, Pierre d'Herbemont a écrit :
> On Fri, Jan 29, 2010 at 12:36 PM, Rafaël Carré <rafael.carre at gmail.com> wrote:
>> Le 29/01/10 11:49, git version control a écrit :
>>> vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Fri Jan 29 01:42:55 2010 +0100| [714ef56a1682be404888668bd3c1c688cd0d2aeb] | committer: Pierre d'Herbemont
>>>
>>> libvlc: Export libvlc_media_player_get_input_thread().
>>
>>> + * Access to libvlc core internal structure.
>>> + *
>>> + * This enables nasty hack. Use of this method is discouraged.
>>
>> What kind of nasty hack ?
>>
>> How are you supposed to use / dereference the pointer?
> 
> The kind of nasty hack where you link to libvlccore, and use the

I hope this isn't Lunettes/Glasses

> input_thread directly. It's pretty much similar to
> libvlc_get_vlc_instance().

You could include internal headers in your project instead of adding 1
crappy function to libvlc. That way the hack remains where it needs to be.

-- 
Rafaël Carré

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100129/142416eb/attachment.sig>


More information about the vlc-devel mailing list