1
我在構建使用DirectX API進行Web攝像頭設備呈現的.NET應用程序。我正在使用DirectShowNet庫。direcrtshow:調用Renderstream方法返回-2147024809
我創建的ICaptureGraphBuilder2
的實例並調用RenderStream
:
IBaseFilter target;
...
Guid cat = PinCategory.Still;
Guid med = MediaType.Video;
hr = capGraph.RenderStream(ref PinCategory.Still, ref med, capFilter, null, target);
hr = capGraph.RenderStream(ref PinCategory.Preview, ref med, capFilter, null, target);
hr = capGraph.RenderStream(ref PinCategory.Capture, ref med, capFilter, null, target);
當我把它叫做失敗,返回代碼-2147024809方法RenderStream
:
0x80075507參數不正確
這些參數不正確?
是PinCategory.Capture的作品 – user244505 2010-01-06 07:11:08