jlennox / NvEncSharp

MIT License
20 stars 7 forks source link

An unhandled `_com_error` in `RegisterResource` leads to crash #11

Open lostmsu opened 1 year ago

lostmsu commented 1 year ago

I believe this happens when the DirectX device backing the encoder gets lost.

The error needs to be caught and propagated to .NET

jlennox commented 1 year ago

Do you have a synthetic way to reproduce this?

TBH, I don't have much time to be able to invest into this, but if it's trivial to reproduce I might be able to action on it.