AxVLCPlugin - Dispose problem
Posted: 15 Apr 2015 16:18
I have developed a simple c# application that uses ActiveX VLC Plugin. The Application revolves around two AxVLCPlugin objects, say vlc1 and vlc2.
The basic idea is to play other object when one object ends playing.
This is just a crude version of the actual code. So the code allows the application to keep repeating the videos and works fine for a while.
But when observed in the TaskManager, the Memory used by the application increases every interval. The memory increases to such extent that the application crashes.
It seems like the AxVLCPlugin do no release the media elements as desired. Can any one provide some help on this issue?
The basic idea is to play other object when one object ends playing.
Code: Select all
void vlc2_MediaPlayerEndReached(object sender, EventArgs e)
{
vlc2.Dispose();
vlc1.play();
}
But when observed in the TaskManager, the Memory used by the application increases every interval. The memory increases to such extent that the application crashes.
It seems like the AxVLCPlugin do no release the media elements as desired. Can any one provide some help on this issue?