sskodje / ScreenRecorderLib

A .NET library for screen recording in Windows, using native Microsoft Media Foundation for realtime encoding to h264 video or PNG images.
MIT License
414 stars 94 forks source link

Recording does not start when stop on paused #286

Closed ybbahg closed 7 months ago

ybbahg commented 8 months ago

Hi I was using 5.1 of engine. RecordingManager::EndRecording() clear for m_IsPaused but 6.0.0 does not clear then when I stop recording on paused status this value is still remained as 'true' So even I tried to restart recording, it could not start but paused. I know TestApp calls CleanupResources() to dispose engine but I prefer reuse already created engine. thanks

sskodje commented 8 months ago

Thanks for reporting! I have fixed it and will push soon.