[vlc-devel] [vlc-commits] macosx: remove callback in VLCVoutView correctly. Fixes #5428

Rémi Denis-Courmont remi at remlab.net
Sat Oct 15 17:10:06 CEST 2011


Le samedi 15 octobre 2011 17:57:19 Felix Paul Kühne, vous avez écrit :
>  - (void)closeVout
>  {
> +    vout_thread_t * p_vout = getVout();
> +    if( !p_vout )

This cannot be right.

> +    {
> +        var_DelCallback( p_vout, "video-device", DeviceCallback, NULL );
> +        vlc_object_release( p_vout );



-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list