[vlc-devel] [PATCH] libvlc: add functions libvlc_get_version() and others

Pierre d'Herbemont pdherbemont at free.fr
Sat Mar 29 23:52:44 CET 2008


On Mar 29, 2008, at 10:15 PM, Tanguy Krotoff wrote:
>> Then the patch is not correct IMO, we don't want to duplicate that
>> from libvlc.so. You may want to wrap around the VLC_* function that
>> are not deprecated in libvlc. (I would be for renaming those to vlc_,
>> but as they were exported you'll need to keep the old VLC_* around  
>> too).
>
> I don't get it
> VLC_Changeset() IS deprecated, so I guess libvlc_get_changeset()
> cannot use VLC_Changeset().
> VLC_Changeset() is still used within vlc core.
> Do you suggest to keep VLC_Changeset() and create a copy named
> vlc_changeset() that should be called by libvlc_get_changeset()?
> Otherwise I don't see how to make it without adding revision.c to
> libvlc-control...


External app shouldn't use VLC_* API. Hence it's deprecated for them.  
But, we can perfectly use that API for our own.

Pierre.




More information about the vlc-devel mailing list