[vlc-devel] commit: video_output: Don't use vlc_object_find to lookfor the playlist. ( Pierre d'Herbemont )

Remi Denis-Courmont rdenis at simphalempin.com
Wed May 28 08:39:54 CEST 2008


On Wed, 28 May 2008 01:25:01 +0200 (CEST), git at videolan.org (git version
control) wrote:
> @@ -525,7 +524,7 @@ static void vout_Destructor( vlc_object_t * p_this )
>          var_SetBool( p_playlist, "intf-show", true );
>      else
>          vlc_object_release( p_another_vout );
> -    vlc_object_release( p_playlist );
> +    pl_Release( p_playlist );
>  #endif

Whether it's wise or not is a different debate (it is not I who designed
these APIs),  but pl_Release() is supposed to be applied on the same
pointer as pl_Yield() AFAIK.

-- 
Rémi Denis-Courmont
http://www.remlab.net




More information about the vlc-devel mailing list