AxVLCPlugin - Dispose problem

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
rthakur
New Cone
New Cone
Posts: 1
Joined: 15 Apr 2015 16:03

AxVLCPlugin - Dispose problem

Postby rthakur » 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.

Code: Select all

void vlc2_MediaPlayerEndReached(object sender, EventArgs e) { vlc2.Dispose(); vlc1.play(); }
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?

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 32 guests