[vlc-devel] [vlc-commits] macosx: implement libvlc exit handler to properly terminate the app when requested

David Fuhrmann david.fuhrmann at gmail.com
Wed Feb 12 12:07:10 CET 2014


Am 12.02.2014 um 08:54 schrieb Rafaël Carré <funman at videolan.org>:

> Hello,
> 
> On 02/03/14 15:18, David Fuhrmann wrote:
>> 
>>     int ret = 1;
>> -    libvlc_set_exit_handler (vlc, vlc_kill, &self);
>>     libvlc_set_app_id (vlc, "org.VideoLAN.VLC", PACKAGE_VERSION, PACKAGE_NAME);
>>     libvlc_set_user_agent (vlc, "VLC media player", "VLC/"PACKAGE_VERSION);
>> 
> 
> That code should not be removed, else we don't have an exit handler in
> case the osx
> interface is not used (e.g. -I dummy, -I rc, etc).

Hello,

Thanks for the remark, you are right. I assume that the code will just work fine with we have both calls to libvlc_set_exit_handler?
I will change that.

With best regards,
David


More information about the vlc-devel mailing list