vlm_Destructor never called
in the file src/input/vlm.c, the function vlm_Destructor is never called.
I am quoting a comment in vlm_Delete :
/* vlm_Delete() is serialized against itself, and against vlm_New().
* This way, vlm_Destructor () (called from vlc_objet_release() above)
* is serialized against setting libvlc_priv->p_vlm from vlm_New(). */
obviously this is not working.
A side effect can be reproduced easily :
./vlc -I telnet --rtsp-host=myip:8554 telnet myip 4212
new test vod enabled
then go back to vlc terminal and ctrl+c to quit.
vlc: misc/objects.c:618: __vlc_object_release: Assertion `internals->i_children == 0' failed.
As vlm_Destructor is not called, vlm medias are not cleared, and vod module is not unloaded.