Only allow VLC_OBJECT_MODULE outside of p_libvlc
Speeds up vlc_list_find(), as we avoid looking up the 200+ plugins for each vlc_list_find(). Also avoids accidentally stealing objects across LibVLC instances. IMHO, the object tree should be per-instance, and the root object should not exist, but that's too big a change yet.
Showing
Please register or sign in to comment