robmikh / SimpleRecorder

A simple screen recorder using both the Windows.Graphics.Capture and Windows.Media.Transcoding APIs.
MIT License
223 stars 48 forks source link

Remove copy code path #3

Closed robmikh closed 5 years ago

robmikh commented 5 years ago

Due to a bug in build 17763, buffers from the capture API cannot be directly handed to the Transcoding API. There's currently a workaround to copy the buffer, but I don't think it's correctly synchronized. When the next release ships, remove the workaround and bump the minimum required build.

robmikh commented 5 years ago

Alternative: In light of #6, it may make more sense to have the copy code path be triggered by either being on build 17763 or if the content size of the frame doesn't match the buffer size.