NickeManarin / ScreenToGif

🎬 ScreenToGif allows you to record a selected area of your screen, edit and save it as a gif or video.
http://www.screentogif.com
Microsoft Public License
23.6k stars 2.17k forks source link

[Bug] Can't use DirectX capture method #1161

Closed 7peanuts closed 1 year ago

7peanuts commented 1 year ago

Describe the bug Hi, I can't use directX capture method, whether it is capturing the whole screen or part of the screen, but it still work with the BitBlt capture method. Here is the error message:

20221206105526

at System.Threading.Tasks.Task.Dispose(Boolean disposing) at System.Threading.Tasks.Task.Dispose() at ScreenToGif.Capture.BaseCapture.DisposeInternal() in C:\Users\nicke\source\ScreenToGif\ScreenToGif\Capture\BaseCapture.cs:line 175 at ScreenToGif.Capture.BaseCapture.DisposeAsync() in C:\Users\nicke\source\ScreenToGif\ScreenToGif\Capture\BaseCapture.cs:line 184 at ScreenToGif.Windows.NewRecorder.PrepareCapture(Boolean isNew) in C:\Users\nicke\source\ScreenToGif\ScreenToGif\Windows\NewRecorder.xaml.cs:line 1394 at ScreenToGif.Windows.NewRecorder.Record() in C:\Users\nicke\source\ScreenToGif\ScreenToGif\Windows\NewRecorder.xaml.cs:line 1033

Desktop (please complete the following information): Windows 11 22H2 22621.900 Windows Feature Experience Pack 1000.22638.1000.0 Graphics Card: AMD 5700XT Adrenalin 22.5.1 Recommended (WHQL) ScreenToGif version: 2.37.1

7peanuts commented 1 year ago

Sorry, it's ready. Something is wrong with my graphics driver 😂