Granted that this patch might not fit for main branch, I hope this snippet
could help someone in need.
Screen cast feature shipped with macOS does support screen recording, but only
for whole screen or selected rectangle, not for a selected window like photo
capture feature.
And pixels are not
On Tue, 11 Jan 2022 at 07:09, Zhang Chen wrote:
>
> To record screencast, AVAssetWriter APIs were called for each
> cocoa_update call.
>
> Commands for start/stop recording were added to View menu.
This seems a bit of an odd feature -- why doesn't the OS just
permit screen recording of any applic
To record screencast, AVAssetWriter APIs were called for each
cocoa_update call.
Commands for start/stop recording were added to View menu.
AVFoundation, CoreMedia and CoreVideo were added as linking
dependencies.
Signed-off-by: Zhang Chen
---
meson.build| 6 +++
ui/cocoa.m | 132 +++