Hi all
I'm having strange problems with a RTSP stream decoder that I'm building based on libvlc.
It uses callbacks (registered with libvlc_video_set_callbacks) to receive images and provide them to the application. This works fine thanks for the work guys btw.
The issue comes when deleting the decoder. I'm calling the following sequence
libvlc_media_player_stop(m_player);
libvlc_media_player_release(m_player); m_player = NULL;
libvlc_media_release(m_media); m_media = NULL;
followed by:
libvlc_release(sm_vlcInstance);
All works fine yet I'm still receiving calls to the callback methods after these calls. How is that possible? I'd expect player_stop to stop messaging and not receive any more callbacks calls afterwards. Am I'm missing something or is there some message buffering done in libvlc which is not cleared at stop?