自定义MFT与Windows通用应用程序

时间:2014-12-31 17:32:30

标签: c# win-universal-app mft

我为我的windows通用应用程序创建了一个自定义MFT。它的目的是检索NV12帧。

在Windows手机部分,一切都很好用。我在打电话:

await this._mediaCaptureManager.AddEffectAsync(MediaStreamType.VideoPreview, "CustomMFT.AddPipeline", propertySet);

但在同一行中,我有一个Windows 8.1应用程序的例外,说:

A first chance exception of type 'System.Exception' occurred in mscorlib.dll WinRT information: The data specified for the media type is invalid, inconsistent, or not supported by this object. Additional information: The data specified for the media type is invalid, inconsistent, or not supported by this object. The data specified for the media type is invalid, inconsistent, or not supported by this object.

我在包清单中注册了这个组件,就像我为windows phone项目所做的那样。 那么我做错了什么?有关如何解决这个问题的想法吗?

0 个答案:

没有答案