I’m trying to replace some media in the mediapool by some other media.
I use this code:
media.ReplaceWith(new Media(file));
It works fine.
However, the original media is not removed from the mediapool.
I tried the “MediaPool.Remove(media)” method, but I can’t get it to work.