public void AddVideoEffect(IVideoEffect effect) { Preview.RemoveAllEffects(); if (effect != null) { Preview.AddVideoEffect(effect.getClassId(), false, effect.getProperties()); } if (sourceFile != null) { LoadMediaFile(sourceFile); } }
public void AddVideoEffect(IVideoEffect effect) { Preview.RemoveAllEffects(); if (effect != null) { Preview.AddVideoEffect(effect.getClassId(), false, effect.getProperties()); } if (sourceFile != null) { LoadMediaFile(sourceFile); } }