Playing MPEG videos hangs up my app


I'm writing an application that plays video & other media files in a loop,
one after other. I'm trying to change from using Windows media player to
DirectX 8. I use Win98 SE, D5, and DSPack component from to
access DirectShow.

Problem is that after a few hours the application hangs up. According to
SysProbe component ( this happens because system &
user resources get used up. MP3 files that use the same interface, except
for IVideoWindow, work fine.

I remember seeing here (or perhaps in multimedia newsgroup) something about
a similar problem with playing video files... anyone?