Commit aedf2f6c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

You can't find the root object, so don't try to mess up with it

parent c84e332e
...@@ -37,9 +37,7 @@ static vlc_object_t *GetVLCObject( intf_thread_t *p_intf, ...@@ -37,9 +37,7 @@ static vlc_object_t *GetVLCObject( intf_thread_t *p_intf,
vlc_object_t *p_object = NULL; vlc_object_t *p_object = NULL;
*pb_need_release = VLC_FALSE; *pb_need_release = VLC_FALSE;
if( !strcmp( psz_object, "VLC_OBJECT_ROOT" ) ) if( !strcmp( psz_object, "VLC_OBJECT_LIBVLC" ) )
i_object_type = VLC_OBJECT_ROOT;
else if( !strcmp( psz_object, "VLC_OBJECT_LIBVLC" ) )
p_object = VLC_OBJECT(p_intf->p_libvlc); p_object = VLC_OBJECT(p_intf->p_libvlc);
else if( !strcmp( psz_object, "VLC_OBJECT_INTF" ) ) else if( !strcmp( psz_object, "VLC_OBJECT_INTF" ) )
p_object = VLC_OBJECT(p_intf); p_object = VLC_OBJECT(p_intf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment