Lumia Imaging SDK is a comprehensive set of GPU/CPU imaging tools and effects that run on both mobile and desktop, with high speed and memory efficiency. Samples and extras code are included.
Starting recording...
Exception thrown: 'System.InvalidCastException' in VideoEffectSample.exe
Exception thrown: 'System.InvalidCastException' in VideoEffectSample.exe
Exception thrown: 'System.InvalidCastException' in mscorlib.ni.dll
Exception thrown: 'System.InvalidCastException' in mscorlib.ni.dll
The Windows Runtime Object can only be used in the threading context where it was created, because it implements INoMarshal or has MarshalingBehaviorAttribute(MarshalingType.None) set.
The Windows Runtime Object can only be used in the threading context where it was created, because it implements INoMarshal or has MarshalingBehaviorAttribute(MarshalingType.None) set.
Exception thrown: 'System.ArgumentException' in mscorlib.ni.dll
WinRT information: The parameter is incorrect.
I started seeing an exception in my app that uses the new MFT. I came back here and tried to reproduce it and was successful.
Environmental Facts:
Here are the steps to reproduce:
Here's the debug output the following:
Starting recording... Exception thrown: 'System.InvalidCastException' in VideoEffectSample.exe Exception thrown: 'System.InvalidCastException' in VideoEffectSample.exe Exception thrown: 'System.InvalidCastException' in mscorlib.ni.dll Exception thrown: 'System.InvalidCastException' in mscorlib.ni.dll The Windows Runtime Object can only be used in the threading context where it was created, because it implements INoMarshal or has MarshalingBehaviorAttribute(MarshalingType.None) set. The Windows Runtime Object can only be used in the threading context where it was created, because it implements INoMarshal or has MarshalingBehaviorAttribute(MarshalingType.None) set.
Exception thrown: 'System.ArgumentException' in mscorlib.ni.dll WinRT information: The parameter is incorrect.