views:

28

answers:

1

I am developing a WPF application (in .NET 4) which contains a lot of videos (40 videos, each video > 1 G) using the WPF media element. Unfortunately, I cannot load more than 10 videos at a time. When I try to display more videos, a black screen appears where normally the video should be played.

Has anyone ever experienced such a problem and found a solution? It would help me a lot.

A: 

In the mean time, I found the solution: calling 'close' on a mediaelement frees the memory... .

Jan