MathewSachin / Captura

Capture Screen, Audio, Cursor, Mouse Clicks and Keystrokes
https://mathewsachin.github.io/Captura/
MIT License
9.55k stars 1.79k forks source link

Every time you open the screen for a while, you will be prompted for an error. #439

Closed Liquor030 closed 4 years ago

Liquor030 commented 4 years ago

SharpDX.SharpDXException: HRESULT: [0xC00D6D76], Module: [Unknown], ApiCode: [Unknown/Unknown], Message: D3D 设备不支持此输入类型。 在 SharpDX.Result.CheckError() 在 SharpDX.MediaFoundation.SinkWriter.WriteSample(Int32 dwStreamIndex, Sample sampleRef) 在 DesktopDuplication.MfWriter.Write(Sample Sample) 在 DesktopDuplication.MfWriter.Write(Texture2D Texture) 在 DesktopDuplication.MfWriter.WriteFrame(IBitmapFrame Image) 在 Captura.Models.WithPreviewWriter.WriteFrame(IBitmapFrame Image) 在 Screna.Recorder.<>cDisplayClass14_0.gAddFrame|0(IBitmapFrame Frame) 在 Screna.Recorder.<>cDisplayClass14_0.b2() 在 System.Threading.Tasks.Task`1.InnerInvoke() 在 System.Threading.Tasks.Task.Execute() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 Screna.Recorder.d__14.MoveNext()